Normally, it is IP+port.
Public Member Functions | |
NPLAddress (const char *sAddress) | |
bool | IsLocal () |
whether the address is the local address | |
string | GetIP () |
TODO: get the IP address component in the address. | |
string | GetPort () |
TODO: get the port component in the address. | |
string | ToString () |
convert to string. | |
Public Attributes | |
string | m_sAddress |
string NPL::NPLAddress::ToString | ( | ) |
convert to string.
e.g. "192.168.0.10:4000"