Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PR_htons

Performs 16-bit conversion from host byte order to network byte order.

Syntax

#include <prnetdb.h> 

PRUint16 PR_htons(PRUint16 conversion);

Parameter

The function has the following parameter:

conversion
The 16-bit unsigned integer, in host byte order, to be converted.

Returns

The value of the conversion parameter in network byte order.

Document Tags and Contributors

 Contributors to this page: teoli, Rappo
 Last updated by: teoli,