otsdaq  v2_05_02_indev
ots::Socket Class Reference
Inheritance diagram for ots::Socket:
ots::ReceiverSocket ots::TransmitterSocket ots::TransceiverSocket ots::UDPDataListenerProducer ots::TransceiverSocket ots::UDPDataStreamerBase ots::UDPDataStreamerConsumer

Public Member Functions

 Socket (const std::string &IPAddress, unsigned int port=0)
 
virtual void initialize (unsigned int socketReceiveBufferSize=defaultSocketReceiveSize_)
 
struct sockaddr_in & getSocketAddress (void)
 
const std::string & getIPAddress ()
 
uint16_t getPort ()
 

Protected Types

enum  { maxSocketSize_ = 65536, defaultSocketReceiveSize_ = 0x10000 }
 
enum  { FirstSocketPort = 10000, LastSocketPort = 15000 }
 

Protected Attributes

struct sockaddr_in socketAddress_
 
int socketNumber_
 
std::string IPAddress_
 
unsigned int requestedPort_
 

Detailed Description

Definition at line 10 of file Socket.h.


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