|
GNU Radio 3.6.5 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 | type of socket (TCP_SERVER, TCP_CLIENT, UDP_SERVER, UDP_CLIENT) |
| addr | address of host |
| port | port number to use |
| MTU | Maximum Transmission Unit size |