Logo Search packages:      
Sourcecode: pwlib version File versions

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

Get the prime IP number bound to the open interface. This also returns the net mask associated with the open interface.

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

Definition at line 202 of file pethsock.cxx.

References EnumIpAddress().

{
  return EnumIpAddress(0, addr, net_mask);
}


Generated by  Doxygen 1.6.0   Back to index