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>GetHostId</title> 8 </head> 9 <body> 10<h1><CODE>nn::socket::GetHostId</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14u32 GetHostId( 15 void 16); 17</pre> 18 </div> 19<h2>Arguments</h2> 20 <div class="section"> 21<p>None.</p> 22 </div> 23<h2>Return Values</h2> 24 <div class="section"> 25 <br /> <br /> 26 <table class="arguments"> 27 <thead> 28 <tr> 29<th>Value</th> 30<td>Description</td> 31 </tr> 32 </thead> 33 <tr> 34 <th>0</th> 35<td>The system is not in a state where communication is possible. (No IPv4 address is allocated to the local host.)</td> 36 </tr> 37 <tr> 38 <th>0</th> 39<td>In other cases, returns a 32-bit value for the network byte order for the host's primary IPv4 address.</td> 40 </tr> 41 </table> </div> 42<h2>Description</h2> 43 <div class="section"> 44<p>Gets the local host's primary IPv4 address.</p><!-- write here --></div> 45<h2>See Also</h2> 46 <div class="section"> 47 <p class="reference"> 48 <br /> </p> 49 </div> 50<h2>Revision History</h2> 51 <div class="section"> 52 <dl class="history"> 53 <dt>2010/06/14</dt> 54<dd>Initial version.<br /> 55 </dd> 56 </dl> 57 </div> 58 <hr><p>CONFIDENTIAL</p></body> 59</html>