Go to the documentation of this file. 1 #ifndef __IPAddress_h__
2 #define __IPAddress_h__
struct sockaddr * getPointer()
Definition: IPAddress.cpp:31
int getClientPort()
Get the client network port number.
Definition: IPAddress.cpp:47
socklen_t addressLength
Definition: IPAddress.h:18
IPAddress()
Definition: IPAddress.cpp:5
~IPAddress()
Definition: IPAddress.cpp:27
Definition: IPAddress.h:9
Definition: Command.cpp:5
std::string getClientAddress()
Get the client network address as xxx.xxx.xxx.xxx.
Definition: IPAddress.cpp:35
struct sockaddr_in addr
Definition: IPAddress.h:17
std::string getClientAddressAndPort()
Get the client network address and port as xxx.xxx.xxx.xxx:ppppp.
Definition: IPAddress.cpp:40