Index   Commented   Search   About

ntohs

The Windows Sockets ntohs function converts a u_short from TCP/IP network byte order to host byte order.

u_short ntohs (

u_short netshort

);

Parameters

netshort

[in] A 16-bit number in TCP/IP network byte order.

Remarks

This routine takes a 16-bit number in TCP/IP network byte order and returns a 16-bit number in host byte order.

Return Values

ntohs
returns the value in host byte order.

See Also

htonl
, htons, ntohl, WSAHtonl, WSAHtons, WSANtohl, WSANtohs

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun