Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

added enet

File size: 5.6 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: protocol.h File 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><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
13    <li id="current"><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="files.html"><span>File&nbsp;List</span></a></li>
19    <li><a href="globals.html"><span>Globals</span></a></li>
20  </ul></div>
21<h1>protocol.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
22
23<p>
24<code>#include &quot;<a class="el" href="types_8h-source.html">enet/types.h</a>&quot;</code><br>
25
26<p>
27<a href="protocol_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
28<tr><td></td></tr>
29<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
30<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolHeader</b></td></tr>
31
32<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolCommandHeader</b></td></tr>
33
34<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolAcknowledge</b></td></tr>
35
36<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolConnect</b></td></tr>
37
38<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolVerifyConnect</b></td></tr>
39
40<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolBandwidthLimit</b></td></tr>
41
42<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolThrottleConfigure</b></td></tr>
43
44<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolDisconnect</b></td></tr>
45
46<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolPing</b></td></tr>
47
48<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolSendReliable</b></td></tr>
49
50<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolSendUnreliable</b></td></tr>
51
52<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolSendUnsequenced</b></td></tr>
53
54<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolSendFragment</b></td></tr>
55
56<tr><td class="memItemLeft" nowrap align="right" valign="top">union &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocol</b></td></tr>
57
58<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
59<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <br>
60&nbsp;&nbsp;<b>ENET_PROTOCOL_MINIMUM_MTU</b> =  576,
61<b>ENET_PROTOCOL_MAXIMUM_MTU</b> =  4096,
62<b>ENET_PROTOCOL_MAXIMUM_PACKET_COMMANDS</b> =  32,
63<b>ENET_PROTOCOL_MINIMUM_WINDOW_SIZE</b> =  4096,
64<br>
65&nbsp;&nbsp;<b>ENET_PROTOCOL_MAXIMUM_WINDOW_SIZE</b> =  32768,
66<b>ENET_PROTOCOL_MINIMUM_CHANNEL_COUNT</b> =  1,
67<b>ENET_PROTOCOL_MAXIMUM_CHANNEL_COUNT</b> =  255,
68<b>ENET_PROTOCOL_MAXIMUM_PEER_ID</b> =  0x7FFF
69<br>
70 }</td></tr>
71
72<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolCommand</b> { <br>
73&nbsp;&nbsp;<b>ENET_PROTOCOL_COMMAND_NONE</b> =  0,
74<b>ENET_PROTOCOL_COMMAND_ACKNOWLEDGE</b> =  1,
75<b>ENET_PROTOCOL_COMMAND_CONNECT</b> =  2,
76<b>ENET_PROTOCOL_COMMAND_VERIFY_CONNECT</b> =  3,
77<br>
78&nbsp;&nbsp;<b>ENET_PROTOCOL_COMMAND_DISCONNECT</b> =  4,
79<b>ENET_PROTOCOL_COMMAND_PING</b> =  5,
80<b>ENET_PROTOCOL_COMMAND_SEND_RELIABLE</b> =  6,
81<b>ENET_PROTOCOL_COMMAND_SEND_UNRELIABLE</b> =  7,
82<br>
83&nbsp;&nbsp;<b>ENET_PROTOCOL_COMMAND_SEND_FRAGMENT</b> =  8,
84<b>ENET_PROTOCOL_COMMAND_SEND_UNSEQUENCED</b> =  9,
85<b>ENET_PROTOCOL_COMMAND_BANDWIDTH_LIMIT</b> =  10,
86<b>ENET_PROTOCOL_COMMAND_THROTTLE_CONFIGURE</b> =  11,
87<br>
88&nbsp;&nbsp;<b>ENET_PROTOCOL_COMMAND_COUNT</b> =  12,
89<b>ENET_PROTOCOL_COMMAND_MASK</b> =  0x0F
90<br>
91 }</td></tr>
92
93<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>ENetProtocolFlag</b> { <b>ENET_PROTOCOL_COMMAND_FLAG_ACKNOWLEDGE</b> =  (1 &lt;&lt; 7),
94<b>ENET_PROTOCOL_COMMAND_FLAG_UNSEQUENCED</b> =  (1 &lt;&lt; 6),
95<b>ENET_PROTOCOL_HEADER_FLAG_SENT_TIME</b> =  (1 &lt;&lt; 15),
96<b>ENET_PROTOCOL_HEADER_FLAG_MASK</b> =  0x8000
97 }</td></tr>
98
99</table>
100<hr size="1"><address style="align: right;"><small>Generated on Wed Jun 6 14:33:50 2007 for enet by&nbsp;
101<a href="http://www.doxygen.org/index.html">
102<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
103</body>
104</html>
Note: See TracBrowser for help on using the repository browser.