GNU Radio 3.7.1 C++ API
|
Creates socket interface and translates traffic to PDUs. More...
#include <socket_pdu.h>
Public Types | |
typedef boost::shared_ptr < socket_pdu > | sptr |
Static Public Member Functions | |
static sptr | make (std::string type, std::string addr, std::string port, int MTU=10000) |
Construct a SOCKET PDU interface. |
Creates socket interface and translates traffic to PDUs.
static sptr gr::blocks::socket_pdu::make | ( | std::string | type, |
std::string | addr, | ||
std::string | port, | ||
int | MTU = 10000 |
||
) | [static] |
Construct a SOCKET PDU interface.
type | "TCP_SERVER", "TCP_CLIENT", "UDP_SERVER", or "UDP_CLIENT" |
addr | network address to use |
port | network port to use |
MTU | maximum transmission unit |