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.
addrVariable to receive hosts IP address

Definition at line 1783 of file sockets.cxx.

References PIPSocket::GetHostName().

Referenced by PIPXSocket::Connect(), PIPSocket::Connect(), PIPSocket::IsLocalHost(), IPV6Test::Main(), DNSTest::Main(), PIpAccessControlEntry::Match(), PICMPSocket::Ping(), and PSTUNClient::SetServer().

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

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index