C4 Engine
C4 Engine API Documentation

NetworkAddress::GetPort

Defined in:  C4Network.h
Returns the 16-bit port number.
Prototype

uint16 GetPort(voidconst;

Description
The GetPort function returns the 16-bit port number stored in a NetworkAddress object. The 32-bit IP address can be retrieved using the NetworkAddress::GetAddress function.
See Also

NetworkAddress::SetPort

NetworkAddress::GetAddress

NetworkAddress::Set