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

BOOL PEthSocket::GetIpAddress ( PIPSocket::Address addr  ) 

Get the prime IP number bound to the open interface.

Returns:
TRUE if the address is returned, FALSE on error.
Parameters:
addr  Variable to receive the IP address.

Definition at line 195 of file pethsock.cxx.

References EnumIpAddress().

{
  PIPSocket::Address net_mask;
  return EnumIpAddress(0, addr, net_mask);
}


Generated by  Doxygen 1.6.0   Back to index