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

BOOL PSTUNClient::SetServer ( const PIPSocket::Address serverAddress,
WORD  serverPort = 0 

Set the STUN server to use by IP address and port. If serverPort is zero then the default port of 3478 is used.

Definition at line 171 of file pstun.cxx.

References PIPSocket::Address::IsValid().

  serverAddress = address;
  serverPort = port;
  return serverAddress.IsValid() && serverPort != 0;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index