NLushort nlGetPortFromAddr(const NLaddress * address) NLboolean nlSetAddrPort(NLaddress * address, NLushort port)
address
[in]Specifies a pointer to the address.
port
[in]Specifies a port number.
nlGetPortFromAddr and nlSetAddrPort get or set the port number for an address.
nlGetPortFromAddr returns the port number from address. If the port number is '0',
an error may have occured, and the specific error code can be retrieved by calling
nlGetError
nlSetAddrPort returns NL_TRUE if no error occurs, otherwise it returns NL_FALSE, and the
specific error code can be retrieved by calling nlGetError
NL_NULL_POINTER : A NULL pointer was passed to this function.
nlGetLocalAddr,
nlGetRemoteAddr,
nlConnect
Back to the HawkNL index page
Go directly to the main HawkNL page at Hawk Software
© 2000-2002 Phil Frisbie.