ots::Socket Class Reference

Inheritance diagram for ots::Socket:
ots::ReceiverSocket ots::TransmitterSocket ots::TransceiverSocket ots::UDPDataListenerProducer ots::TransceiverSocket ots::UDPDataStreamerBase ots::UDPDataStreamerConsumer

List of all members.

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 11 of file Socket.h.


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

Generated on 29 May 2018 for otsdaq by  doxygen 1.6.1