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

void PUDPSocket::SetSendAddress ( const Address address,
WORD  port 
)

Set the address to use for connectionless Write() or Windows QoS

Parameters:
addressIP address to send packets.
portPort to send packets.

Definition at line 3192 of file sockets.cxx.

Referenced by PSTUNClient::CreateSocket(), and PSTUNClient::GetNatType().

{
  sendAddress = newAddress;
  sendPort    = newPort;
  ApplyQoS();
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index