Index   Commented   Search   About

htonl

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

u_long htonl (

u_long hostlong

);

Parameters

hostlong

[in] A 32-bit number in host byte order.

Remarks

This routine takes a 32-bit number in host byte order and returns a 32-bit number in the network byte order used in TCP/IP networks.

Return Values

htonl
returns the value in TCP/IP's network byte order.

See Also

htons
, ntohl, ntohs, 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