 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_GR_UDP_SINK_H
12 #define INCLUDED_GR_UDP_SINK_H
28 typedef std::shared_ptr<udp_sink>
sptr;
42 const std::string& host,
44 int payload_size = 1472,
48 virtual int payload_size() = 0;
58 virtual void connect(
const std::string& host,
int port) = 0;
65 virtual void disconnect() = 0;
std::shared_ptr< udp_sink > sptr
Definition: gr-blocks/include/gnuradio/blocks/udp_sink.h:28
BLOCKS_API size_t itemsize(vector_type type)
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
Write stream to an UDP socket.
Definition: gr-blocks/include/gnuradio/blocks/udp_sink.h:24
synchronous 1:1 input to output with history
Definition: sync_block.h:25
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29