1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
7<title>NtoHs</title>
8  </head>
9  <body>
10<h1><CODE>nn::socket::NtoHs</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14bit16 NtoHs(
15     bit16 v
16);
17</pre>
18    </div>
19<h2>Arguments</h2>
20    <div class="section">
21      <table class="arguments">
22        <thead>
23          <tr>
24            <td width="15" />
25<th>Name</th>
26<td>Description</td>
27          </tr>
28        </thead>
29        <tr>
30<td>in</td>
31<th>v</th>
32<td>Specifies a 16-bit network byte order value.</td>
33        </tr> </table>
34    </div>
35<h2>Return Values</h2>
36    <div class="section">
37      <br /> <br />
38      <table class="arguments">
39        <thead>
40          <tr>
41<th>Value</th>
42<td>Description</td>
43          </tr>
44        </thead>
45        <tr>
46          <th>16</th>
47<td>Returns a bit host byte order value.</td>
48        </tr>
49      </table> </div>
50<h2>Description</h2>
51    <div class="section">
52<p>Converts a 16-bit network byte order value to a host byte order value.</p><!-- write here --></div>
53<h2>See Also</h2>
54    <div class="section">
55<p class="reference"><a href="../../nn/socket/HtoNs.html"><CODE>HtoNs</CODE></a>, <a href="../../nn/socket/NtoHl.html"><CODE>NtoHl</CODE></a><br /> </p>
56    </div>
57<h2>Revision History</h2>
58    <div class="section">
59      <dl class="history">
60        <dt>2010/06/14</dt>
61<dd>Initial version.<br />
62        </dd>
63      </dl>
64    </div>
65  <hr><p>CONFIDENTIAL</p></body>
66</html>