NetworkAddress::Set
Defined in:
Sets the IP address and port number.
C4Network.h
Prototype
NetworkAddress& Set(uint32 addr, uint16 pt = 0);
Parameters
addr |
The 32-bit IP address. |
pt |
The 16-bit port number. |
Description
The Set
function sets the IP address of a NetworkAddress
object to the address given by the addr
parameter. The port number is set to the value given by the pt
parameter.
See Also