1 #ifndef __IPAddress_h__ 
    2 #define __IPAddress_h__ 
   17       struct sockaddr_in addr;    
 
   18       socklen_t addressLength;
 
   20         struct sockaddr * getPointer();
 
Definition: IPAddress.h:9
int getClientPort()
Get the client network port number.
Definition: IPAddress.cpp:47
std::string getClientAddressAndPort()
Get the client network address and port as xxx.xxx.xxx.xxx:ppppp.
Definition: IPAddress.cpp:40
std::string getClientAddress()
Get the client network address as xxx.xxx.xxx.xxx.
Definition: IPAddress.cpp:35