AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

ntohs

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

VB4-32,5,6
Declare Function ntohs Lib "wsock32.dll" (ByVal netshort As Long) As Integer

Operating Systems Supported
Requires Windows Sockets 1.1

Library
Wsock32.dll

Parameter Information
· netshort
[in] A 16-bit number in TCP/IP network byte order.

Return Values
The ntohs function returns the value in host byte order. If the netshort parameter was already in host byte order, then no operation is performed.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/