 |
GNU Radio Manual and C++ API Reference
3.10.5.1
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_NETWORK_TCP_SINK_H
12 #define INCLUDED_NETWORK_TCP_SINK_H
17 #define TCPSINKMODE_CLIENT 1
18 #define TCPSINKMODE_SERVER 2
41 typedef std::shared_ptr<tcp_sink>
sptr;
47 make(
size_t itemsize,
size_t veclen,
const std::string& host,
int port,
int sinkmode);
This block provides a TCP Sink block that supports both client and server modes.
Definition: tcp_sink.h:38
GR_RUNTIME_API size_t itemsize(types::vector_type type)
synchronous 1:1 input to output with history
Definition: sync_block.h:25
#define NETWORK_API
Definition: gr-network/include/gnuradio/network/api.h:19
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< tcp_sink > sptr
Definition: tcp_sink.h:41