SysSockNtohsΒΆ

Attention: Please regard the General Remarks on the library.

This function of type WORD calls the function ntohs of the operating system, which converts a u_short value from the TCP/IP network order to the host byte order.

The function will return the value in host byte order.

Variable Data type Description
wNet WORD

u_short value to be converted

(corresponding parameter e.g. in Win32: netshort