Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/enet-1.1/docs/html/struct__ENetAddress.html @ 13

Last change on this file since 13 was 13, checked in by landauf, 16 years ago

added enet

File size: 2.9 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>enet: _ENetAddress Struct Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.1 -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
13    <li><a href="files.html"><span>Files</span></a></li>
14    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
15  </ul></div>
16<div class="tabs">
17  <ul>
18    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
19    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
20    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
21  </ul></div>
22<h1>_ENetAddress Struct Reference</h1><!-- doxytag: class="_ENetAddress" --><code>#include &lt;<a class="el" href="enet_8h-source.html">enet.h</a>&gt;</code>
23<p>
24<hr><a name="_details"></a><h2>Detailed Description</h2>
25The host must be specified in network byte-order, and the port must be in host byte-order. The constant ENET_HOST_ANY may be used to specify the default server host. The constant ENET_HOST_BROADCAST may be used to specify the broadcast address (255.255.255.255). This makes sense for enet_host_connect, but not for enet_host_create. Once a server responds to a broadcast, the address is updated from ENET_HOST_BROADCAST to the server's actual IP address.
26<p>
27<table border="0" cellpadding="0" cellspacing="0">
28<tr><td></td></tr>
29<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
30<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4a3f4fe53031a0ea366a5e8c4c04b20"></a><!-- doxytag: member="_ENetAddress::host" ref="b4a3f4fe53031a0ea366a5e8c4c04b20" args="" -->
31<a class="el" href="types_8h.html#5273659ca3c664b8550452732e9e4ae3">enet_uint32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>host</b></td></tr>
32
33<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d0f4850b0e76550370be06eee67bbc54"></a><!-- doxytag: member="_ENetAddress::port" ref="d0f4850b0e76550370be06eee67bbc54" args="" -->
34<a class="el" href="types_8h.html#245102585fdf31bdf208639ef47bec5d">enet_uint16</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>port</b></td></tr>
35
36</table>
37<hr>The documentation for this struct was generated from the following file:<ul>
38<li><a class="el" href="enet_8h-source.html">enet.h</a></ul>
39<hr size="1"><address style="align: right;"><small>Generated on Wed Jun 6 14:33:50 2007 for enet by&nbsp;
40<a href="http://www.doxygen.org/index.html">
41<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
42</body>
43</html>
Note: See TracBrowser for help on using the repository browser.