NetworkMgr::GetLocalAddress
Defined in:
Returns the network address of the local machine.
C4Network.h
Prototype
const NetworkAddress& GetLocalAddress(void);
Description
The GetLocalAddress
function returns a NetworkAddress
object containing the 32-bit IP address of the local machine and the 16-bit port number currently in use. If the Network Manager has not been initialized, then the network address returned is filled with zeros.
See Also