23 #ifndef INCLUDED_GR_UDP_SOURCE_H
24 #define INCLUDED_GR_UDP_SOURCE_H
40 typedef boost::shared_ptr<udp_source>
sptr;
56 const std::string &host,
int port,
57 int payload_size=1472,
68 virtual void connect(
const std::string &host,
int port) = 0;
72 virtual void disconnect() = 0;
75 virtual int payload_size() = 0;
78 virtual int get_port() = 0;
Read stream from an UDP socket.
Definition: udp_source.h:36
Include this header to use the message passing features.
Definition: logger.h:131
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
boost::shared_ptr< udp_source > sptr
Definition: udp_source.h:40
BLOCKS_API size_t itemsize(vector_type type)