Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PIPSocket::GetLocalAddress ( Address addr ) [virtual, inherited]

Get the Internet Protocol address for the local host.

Returns:
TRUE if the IP number was returned.
Parameters:
addrVariable to receive hosts IP address

Reimplemented in PSTUNUDPSocket, and PSocksSocket.

Definition at line 1837 of file sockets.cxx.

Referenced by PSTUNUDPSocket::GetLocalAddress(), PIPSocket::GetLocalHostName(), and StunClient::Main().

{
  WORD dummy;
  return GetLocalAddress(addr, dummy);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index