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

BOOL PIPSocket::GetHostAddress ( Address addr  )  [static, inherited]

Get the Internet Protocol address for the specified host, or if none specified, for the host this process is running on.

TRUE if the IP number was returned.
addr  Variable to receive hosts IP address

Definition at line 1783 of file sockets.cxx.

References PIPSocket::GetHostName().

Referenced by PIPSocket::Connect(), PIPSocket::IsLocalHost(), PIpAccessControlEntry::Match(), PICMPSocket::Ping(), PSocksUDPSocket::ReadFrom(), and PSTUNClient::SetServer().

  return pHostByName().GetHostAddress(GetHostName(), addr);

Generated by  Doxygen 1.6.0   Back to index