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.

Parameters:
serviceName 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);
}

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