blob: 1e5b845ca98a6a5e08d14a1a86e4c26adaa24ec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PR_htons
========
Performs 16-bit conversion from host byte order to network byte order.
Syntax
------
.. code::
#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.
|