GNU Radio 3.7.1 C++ API
gr::blocks::socket_pdu Class Reference

Creates socket interface and translates traffic to PDUs. More...

#include <socket_pdu.h>

Inheritance diagram for gr::blocks::socket_pdu:

List of all members.

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.

Detailed Description

Creates socket interface and translates traffic to PDUs.


Member Typedef Documentation


Member Function Documentation

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.

Parameters:
type"TCP_SERVER", "TCP_CLIENT", "UDP_SERVER", or "UDP_CLIENT"
addrnetwork address to use
portnetwork port to use
MTUmaximum transmission unit

The documentation for this class was generated from the following file: