NetworkAddress::SetPort
Defined in: C4Network.h
Sets the 16-bit port number.
Prototype
void SetPort(unsigned short pt);
Description
The SetPort function sets the port number of a NetworkAddress object to the value given by the pt parameter. The 32-bit IP address stored in the NetworkAddress object is not modified.
See Also
NetworkAddress::GetPort
NetworkAddress::GetAddress
NetworkAddress::Set
|