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

WORD PSocket::GetPortByService ( const PString service  )  const [virtual, inherited]

Get the port number for the specified service name.

service  Name of service to get port number for.

Definition at line 1540 of file sockets.cxx.

References PSocket::GetProtocolName().

Referenced by PSocket::SetPort(), and PSTUNClient::SetServer().

  return GetPortByService(GetProtocolName(), serviceName);

Generated by  Doxygen 1.6.0   Back to index