Logo Search packages:      
Sourcecode: pwlib version File versions

BOOL PSocksUDPSocket::GetPeerAddress ( Address addr  )  [virtual]

Get the Internet Protocol address for the peer host the socket is connected to.

Returns:
TRUE if the IP number was returned.

Reimplemented from PIPSocket.

Definition at line 662 of file socks.cxx.

References PChannel::IsOpen().

{
  if (!IsOpen())
    return FALSE;

  addr = remoteAddress;
  return TRUE;
}


Generated by  Doxygen 1.6.0   Back to index