GNU Radio 3.6.5 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:
gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::socket_pdu_impl

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:
typetype of socket (TCP_SERVER, TCP_CLIENT, UDP_SERVER, UDP_CLIENT)
addraddress of host
portport number to use
MTUMaximum Transmission Unit size

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