Belle II Software  release-08-01-10
TCPServerSocket Class Reference
Inheritance diagram for TCPServerSocket:
Collaboration diagram for TCPServerSocket:

Public Member Functions

 TCPServerSocket (const std::string &ip, unsigned short port)
 
void setIP (const std::string &ip)
 
void setPort (unsigned short port)
 
const std::string & getIP () const
 
unsigned short getPort () const
 
int open (int nqueue=5)
 
int open (const std::string &ip, unsigned short port, int nqueue=5)
 
TCPSocket accept ()
 
int get_fd () const
 
bool select (int sec=-1, int usec=-1)
 
bool select2 (int sec=-1, int usec=-1)
 
bool close ()
 

Protected Attributes

int m_fd
 

Private Attributes

std::string m_ip
 
unsigned short m_port
 

Detailed Description

Definition at line 20 of file TCPServerSocket.h.


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