1 #ifndef __IPAddress_h__ 2 #define __IPAddress_h__ 15 struct sockaddr_in address;
16 socklen_t addressLength;
int getClientPort()
Get the client network port number.
Definition: IPAddress.cpp:25
Definition: Command.cpp:4
std::string getClientAddressAndPort()
Get the client network address and port as xxx.xxx.xxx.xxx:ppppp.
Definition: IPAddress.cpp:18
Definition: IPAddress.h:9
std::string getClientAddress()
Get the client network address as xxx.xxx.xxx.xxx.
Definition: IPAddress.cpp:13