Init
This commit is contained in:
169
Help/Doxygen/html/d0/d1e/_nat_punchthrough_client_8h.xhtml
Normal file
169
Help/Doxygen/html/d0/d1e/_nat_punchthrough_client_8h.xhtml
Normal file
@ -0,0 +1,169 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<title>SLikeNet: Source/include/slikenet/NatPunchthroughClient.h File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(initResizable);
|
||||
</script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">SLikeNet
|
||||
 <span id="projectnumber">0.1.3</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.2 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="../../index.xhtml"><span>Main Page</span></a></li>
|
||||
<li><a href="../../pages.xhtml"><span>Related Pages</span></a></li>
|
||||
<li><a href="../../modules.xhtml"><span>Modules</span></a></li>
|
||||
<li><a href="../../namespaces.xhtml"><span>Namespaces</span></a></li>
|
||||
<li><a href="../../annotated.xhtml"><span>Classes</span></a></li>
|
||||
<li class="current"><a href="../../files.xhtml"><span>Files</span></a></li>
|
||||
<li>
|
||||
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||
<span class="left">
|
||||
<img id="MSearchSelect" src="../../search/mag_sel.png"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
alt=""/>
|
||||
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||
</span><span class="right">
|
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="navrow2" class="tabs2">
|
||||
<ul class="tablist">
|
||||
<li><a href="../../files.xhtml"><span>File List</span></a></li>
|
||||
<li><a href="../../globals.xhtml"><span>File Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){initNavTree('d0/d1e/_nat_punchthrough_client_8h.xhtml','../../');});
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#namespaces">Namespaces</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">NatPunchthroughClient.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Contains the NAT-punchthrough plugin for the client.
|
||||
<a href="#details">More...</a></p>
|
||||
<div class="textblock"><code>#include "<a class="el" href="../../de/ddb/_native_feature_includes_8h_source.xhtml">NativeFeatureIncludes.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="../../d9/d49/types_8h_source.xhtml">types.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="../../db/dbd/_export_8h_source.xhtml">Export.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="../../d7/ddd/_plugin_interface2_8h_source.xhtml">PluginInterface2.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="../../d7/d03/_packet_priority_8h_source.xhtml">PacketPriority.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="../../d4/dc5/_socket_includes_8h_source.xhtml">SocketIncludes.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="../../d9/d7f/_d_s___list_8h_source.xhtml">DS_List.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="../../da/d66/string_8h_source.xhtml">string.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="../../dc/d8d/_d_s___queue_8h_source.xhtml">DS_Queue.h</a>"</code><br/>
|
||||
</div>
|
||||
<p><a href="../../d0/d1e/_nat_punchthrough_client_8h_source.xhtml">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:d3/d13/struct_s_l_net_1_1_punchthrough_configuration"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d3/d13/struct_s_l_net_1_1_punchthrough_configuration">SLNet::PunchthroughConfiguration</a></td></tr>
|
||||
<tr class="separator:d3/d13/struct_s_l_net_1_1_punchthrough_configuration"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:d5/db1/struct_s_l_net_1_1_nat_punchthrough_debug_interface"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d5/db1/struct_s_l_net_1_1_nat_punchthrough_debug_interface">SLNet::NatPunchthroughDebugInterface</a></td></tr>
|
||||
<tr class="separator:d5/db1/struct_s_l_net_1_1_nat_punchthrough_debug_interface"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:d5/d5d/struct_s_l_net_1_1_nat_punchthrough_debug_interface___printf"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d5/d5d/struct_s_l_net_1_1_nat_punchthrough_debug_interface___printf">SLNet::NatPunchthroughDebugInterface_Printf</a></td></tr>
|
||||
<tr class="separator:d5/d5d/struct_s_l_net_1_1_nat_punchthrough_debug_interface___printf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:d1/dae/struct_s_l_net_1_1_nat_punchthrough_debug_interface___packet_logger"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d1/dae/struct_s_l_net_1_1_nat_punchthrough_debug_interface___packet_logger">SLNet::NatPunchthroughDebugInterface_PacketLogger</a></td></tr>
|
||||
<tr class="separator:d1/dae/struct_s_l_net_1_1_nat_punchthrough_debug_interface___packet_logger"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:df/df2/class_s_l_net_1_1_nat_punchthrough_client"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#df/df2/class_s_l_net_1_1_nat_punchthrough_client">SLNet::NatPunchthroughClient</a></td></tr>
|
||||
<tr class="memdesc:df/df2/class_s_l_net_1_1_nat_punchthrough_client"><td class="mdescLeft"> </td><td class="mdescRight">Client code for NATPunchthrough. <a href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#df/df2/class_s_l_net_1_1_nat_punchthrough_client">More...</a><br/></td></tr>
|
||||
<tr class="separator:df/df2/class_s_l_net_1_1_nat_punchthrough_client"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:dd/d8f/struct_s_l_net_1_1_nat_punchthrough_client_1_1_send_ping"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#dd/d8f/struct_s_l_net_1_1_nat_punchthrough_client_1_1_send_ping">SLNet::NatPunchthroughClient::SendPing</a></td></tr>
|
||||
<tr class="separator:dd/d8f/struct_s_l_net_1_1_nat_punchthrough_client_1_1_send_ping"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:d4/d56/struct_s_l_net_1_1_nat_punchthrough_client_1_1_addr_and_guid"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d4/d56/struct_s_l_net_1_1_nat_punchthrough_client_1_1_addr_and_guid">SLNet::NatPunchthroughClient::AddrAndGuid</a></td></tr>
|
||||
<tr class="separator:d4/d56/struct_s_l_net_1_1_nat_punchthrough_client_1_1_addr_and_guid"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:d1/d67/struct_s_l_net_1_1_nat_punchthrough_client_1_1_d_s_t_and_fac"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d1/d67/struct_s_l_net_1_1_nat_punchthrough_client_1_1_d_s_t_and_fac">SLNet::NatPunchthroughClient::DSTAndFac</a></td></tr>
|
||||
<tr class="separator:d1/d67/struct_s_l_net_1_1_nat_punchthrough_client_1_1_d_s_t_and_fac"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:dd/d30/namespace_s_l_net"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d30/namespace_s_l_net.xhtml">SLNet</a></td></tr>
|
||||
<tr class="memdesc:dd/d30/namespace_s_l_net"><td class="mdescLeft"> </td><td class="mdescRight">Simple class to send changes between directories. In essence, a simple autopatcher that can be used for transmitting levels, skins, etc. <br/></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Contains the NAT-punchthrough plugin for the client. </p>
|
||||
|
||||
<p>Definition in file <a class="el" href="../../d0/d1e/_nat_punchthrough_client_8h_source.xhtml">NatPunchthroughClient.h</a>.</p>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_74389ed8173ad57b461b9d623a1f3867.xhtml">Source</a></li><li class="navelem"><a class="el" href="../../dir_bbb90e3ef9167a594ae33323139a2595.xhtml">include</a></li><li class="navelem"><a class="el" href="../../dir_88467e66686deb9d3756fe4fc298e321.xhtml">slikenet</a></li><li class="navelem"><a class="el" href="../../d0/d1e/_nat_punchthrough_client_8h.xhtml">NatPunchthroughClient.h</a></li>
|
||||
<li class="footer">Generated on Wed Aug 14 2019 22:09:48 for SLikeNet by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,376 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<title>SLikeNet: Source/include/slikenet/NatPunchthroughClient.h Source File</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(initResizable);
|
||||
</script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">SLikeNet
|
||||
 <span id="projectnumber">0.1.3</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.2 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
||||
</script>
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="../../index.xhtml"><span>Main Page</span></a></li>
|
||||
<li><a href="../../pages.xhtml"><span>Related Pages</span></a></li>
|
||||
<li><a href="../../modules.xhtml"><span>Modules</span></a></li>
|
||||
<li><a href="../../namespaces.xhtml"><span>Namespaces</span></a></li>
|
||||
<li><a href="../../annotated.xhtml"><span>Classes</span></a></li>
|
||||
<li class="current"><a href="../../files.xhtml"><span>Files</span></a></li>
|
||||
<li>
|
||||
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||
<span class="left">
|
||||
<img id="MSearchSelect" src="../../search/mag_sel.png"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
alt=""/>
|
||||
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||
</span><span class="right">
|
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="navrow2" class="tabs2">
|
||||
<ul class="tablist">
|
||||
<li><a href="../../files.xhtml"><span>File List</span></a></li>
|
||||
<li><a href="../../globals.xhtml"><span>File Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){initNavTree('d0/d1e/_nat_punchthrough_client_8h_source.xhtml','../../');});
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">NatPunchthroughClient.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="../../d0/d1e/_nat_punchthrough_client_8h.xhtml">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Original work: Copyright (c) 2014, Oculus VR, Inc.</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * This source code is licensed under the BSD-style license found in the</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * RakNet License.txt file in the licenses directory of this source tree. An additional grant </span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * of patent rights can be found in the RakNet Patents.txt file in the same directory.</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * Modified work: Copyright (c) 2017, SLikeSoft UG (haftungsbeschränkt)</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> *</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * This source code was modified by SLikeSoft. Modifications are licensed under the MIT-style</span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * license found in the license.txt file in the root directory of this source tree.</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="../../de/ddb/_native_feature_includes_8h.xhtml">NativeFeatureIncludes.h</a>"</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#if _RAKNET_SUPPORT_NatPunchthroughClient==1</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef __NAT_PUNCHTHROUGH_CLIENT_H</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span><span class="preprocessor">#define __NAT_PUNCHTHROUGH_CLIENT_H</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="../../d9/d49/types_8h.xhtml" title="Types used by RakNet, most of which involve user code.">types.h</a>"</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="../../db/dbd/_export_8h.xhtml">Export.h</a>"</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="../../d7/ddd/_plugin_interface2_8h.xhtml" title="RakNet's plugin functionality system, version 2. You can derive from this to create your own plugins...">PluginInterface2.h</a>"</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="../../d7/d03/_packet_priority_8h.xhtml" title="This file contains enumerations for packet priority and reliability enumerations.">PacketPriority.h</a>"</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="../../d4/dc5/_socket_includes_8h.xhtml">SocketIncludes.h</a>"</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="../../d9/d7f/_d_s___list_8h.xhtml">DS_List.h</a>"</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="../../da/d66/string_8h.xhtml">string.h</a>"</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="../../dc/d8d/_d_s___queue_8h.xhtml">DS_Queue.h</a>"</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// Trendnet TEW-632BRP sometimes starts at port 1024 and increments sequentially.</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// Zonnet zsr1134we. Replies go out on the net, but are always absorbed by the remote router??</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// Dlink ebr2310 to Trendnet ok</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// Trendnet TEW-652BRP to Trendnet 632BRP OK</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment">// Trendnet TEW-632BRP to Trendnet 632BRP OK</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">// Buffalo WHR-HP-G54 OK</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// Netgear WGR614 ok</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">namespace </span>SLNet</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">class </span>RakPeerInterface;</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">struct </span>Packet;</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#if _RAKNET_SUPPORT_PacketLogger==1</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"></span><span class="keyword">class </span>PacketLogger;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml"> 53</a></span> <span class="keyword">struct </span><a class="code" href="../../db/dbd/_export_8h.xhtml#ab0579394e418800d5c85e46ad6fcd61d">RAK_DLL_EXPORT</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d3/d13/struct_s_l_net_1_1_punchthrough_configuration">PunchthroughConfiguration</a></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> {</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#ad5c555f97a1ee17ebfe1b56c66e8fdf3"> 58</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#ad5c555f97a1ee17ebfe1b56c66e8fdf3">PunchthroughConfiguration</a>() {</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  TIME_BETWEEN_PUNCH_ATTEMPTS_INTERNAL=15;</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  TIME_BETWEEN_PUNCH_ATTEMPTS_EXTERNAL=50;</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  UDP_SENDS_PER_PORT_INTERNAL=2;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  UDP_SENDS_PER_PORT_EXTERNAL=8;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  INTERNAL_IP_WAIT_AFTER_ATTEMPTS=30;</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  MAXIMUM_NUMBER_OF_INTERNAL_IDS_TO_CHECK=5; </div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  MAX_PREDICTIVE_PORT_RANGE=2;</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  EXTERNAL_IP_WAIT_BETWEEN_PORTS=200;</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  EXTERNAL_IP_WAIT_AFTER_FIRST_TTL=100;</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  EXTERNAL_IP_WAIT_AFTER_ALL_ATTEMPTS=EXTERNAL_IP_WAIT_BETWEEN_PORTS;</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  retryOnFailure=<span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#af6a42aa25f5ba10f44d3bbe6565542bd"> 73</a></span>  <a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#a7223b62c1b67121db1d975f2ab9b74c7">SLNet::Time</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#af6a42aa25f5ba10f44d3bbe6565542bd" title="How much time between each UDP send.">TIME_BETWEEN_PUNCH_ATTEMPTS_INTERNAL</a>;</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a7335e95015973742b452d28e323700fe"> 74</a></span>  <a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#a7223b62c1b67121db1d975f2ab9b74c7">SLNet::Time</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a7335e95015973742b452d28e323700fe">TIME_BETWEEN_PUNCH_ATTEMPTS_EXTERNAL</a>;</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a9eb7ab2b9959141441fa10d091d30235"> 77</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a9eb7ab2b9959141441fa10d091d30235" title="How many tries for one port before giving up and going to the next port.">UDP_SENDS_PER_PORT_INTERNAL</a>;</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#ac5ea58834780acabbb060ec92fbf09ae"> 78</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#ac5ea58834780acabbb060ec92fbf09ae">UDP_SENDS_PER_PORT_EXTERNAL</a>;</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a24b90dce10f7a4088971af0bfd776bad"> 81</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a24b90dce10f7a4088971af0bfd776bad" title="After giving up on one internal port, how long to wait before trying the next port.">INTERNAL_IP_WAIT_AFTER_ATTEMPTS</a>;</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#af7b9200fbdae099291d8f6ab62785df6"> 84</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#af7b9200fbdae099291d8f6ab62785df6" title="How many external ports to try past the last known starting port.">MAX_PREDICTIVE_PORT_RANGE</a>;</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#af02d323b8fda0fa62fdc1c744567e684"> 87</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#af02d323b8fda0fa62fdc1c744567e684" title="After sending TTL, how long to wait until first punch attempt.">EXTERNAL_IP_WAIT_AFTER_FIRST_TTL</a>;</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#abab0b89ab92f138a47e14ee72dad9341"> 90</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#abab0b89ab92f138a47e14ee72dad9341" title="After giving up on one external port, how long to wait before trying the next port.">EXTERNAL_IP_WAIT_BETWEEN_PORTS</a>;</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a2e693489a69a4805b054f83485546457"> 93</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a2e693489a69a4805b054f83485546457" title="After trying all external ports, how long to wait before returning ID_NAT_PUNCHTHROUGH_FAILED.">EXTERNAL_IP_WAIT_AFTER_ALL_ATTEMPTS</a>;</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#ae7a4fc6f9b495959ea3aeb351ed55485"> 98</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#ae7a4fc6f9b495959ea3aeb351ed55485">MAXIMUM_NUMBER_OF_INTERNAL_IDS_TO_CHECK</a>;</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aa2c76952b48d47ccc73d1930ed960f0f"> 102</a></span>  <span class="keywordtype">bool</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aa2c76952b48d47ccc73d1930ed960f0f">retryOnFailure</a>;</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> };</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml"> 106</a></span> <span class="keyword">struct </span><a class="code" href="../../db/dbd/_export_8h.xhtml#ab0579394e418800d5c85e46ad6fcd61d">RAK_DLL_EXPORT</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d5/db1/struct_s_l_net_1_1_nat_punchthrough_debug_interface">NatPunchthroughDebugInterface</a></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> {</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a4e1ebd387816c2ed9ef424adbb3660a3"> 108</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a4e1ebd387816c2ed9ef424adbb3660a3">NatPunchthroughDebugInterface</a>() {}</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a059c5bdfd6ebe6ef41d499c9ade6e492"> 109</a></span>  <span class="keyword">virtual</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a059c5bdfd6ebe6ef41d499c9ade6e492">~NatPunchthroughDebugInterface</a>() {}</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnClientMessage(<span class="keyword">const</span> <span class="keywordtype">char</span> *msg)=0;</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> };</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml"> 114</a></span> <span class="keyword">struct </span><a class="code" href="../../db/dbd/_export_8h.xhtml#ab0579394e418800d5c85e46ad6fcd61d">RAK_DLL_EXPORT</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d5/d5d/struct_s_l_net_1_1_nat_punchthrough_debug_interface___printf">NatPunchthroughDebugInterface_Printf</a> : <span class="keyword">public</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d5/db1/struct_s_l_net_1_1_nat_punchthrough_debug_interface">NatPunchthroughDebugInterface</a></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> {</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnClientMessage(<span class="keyword">const</span> <span class="keywordtype">char</span> *msg);</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> };</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor">#if _RAKNET_SUPPORT_PacketLogger==1</span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml"> 121</a></span> <span class="keyword">struct </span><a class="code" href="../../db/dbd/_export_8h.xhtml#ab0579394e418800d5c85e46ad6fcd61d">RAK_DLL_EXPORT</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d1/dae/struct_s_l_net_1_1_nat_punchthrough_debug_interface___packet_logger">NatPunchthroughDebugInterface_PacketLogger</a> : <span class="keyword">public</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d5/db1/struct_s_l_net_1_1_nat_punchthrough_debug_interface">NatPunchthroughDebugInterface</a></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> {</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="comment">// Set to non-zero to write to the packetlogger!</span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a408c3e948addf8bf7cc9080bc6da6575"> 124</a></span>  <a class="code" href="../../dc/d7d/group___p_a_c_k_e_t_l_o_g_g_e_r___g_r_o_u_p.xhtml#d9/d2e/class_s_l_net_1_1_packet_logger" title="Writes incoming and outgoing messages to the screen. This will write all incoming and outgoing messag...">PacketLogger</a> *<a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a408c3e948addf8bf7cc9080bc6da6575">pl</a>;</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a7da15fd8058820e86cfc07d977c5477f"> 126</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a7da15fd8058820e86cfc07d977c5477f">NatPunchthroughDebugInterface_PacketLogger</a>() {pl=0;}</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a74b22a59654ecdb57176ef849a40fecb"> 127</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a74b22a59654ecdb57176ef849a40fecb">~NatPunchthroughDebugInterface_PacketLogger</a>() {}</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnClientMessage(<span class="keyword">const</span> <span class="keywordtype">char</span> *msg);</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> };</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml"> 139</a></span> <span class="keyword">class </span><a class="code" href="../../db/dbd/_export_8h.xhtml#ab0579394e418800d5c85e46ad6fcd61d">RAK_DLL_EXPORT</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#df/df2/class_s_l_net_1_1_nat_punchthrough_client" title="Client code for NATPunchthrough.">NatPunchthroughClient</a> : <span class="keyword">public</span> <a class="code" href="../../de/d14/group___p_l_u_g_i_n___i_n_t_e_r_f_a_c_e___g_r_o_u_p.xhtml#db/d5e/class_s_l_net_1_1_plugin_interface2">PluginInterface2</a></div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> {</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="comment">// GetInstance() and DestroyInstance(instance*)</span></div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="../../db/dbd/_export_8h.xhtml#af3e49377f340027d211b2814949efc48">STATIC_FACTORY_DECLARATIONS</a>(<a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#df/df2/class_s_l_net_1_1_nat_punchthrough_client" title="Client code for NATPunchthrough.">NatPunchthroughClient</a>)</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#df/df2/class_s_l_net_1_1_nat_punchthrough_client" title="Client code for NATPunchthrough.">NatPunchthroughClient</a>();</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  ~<a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#df/df2/class_s_l_net_1_1_nat_punchthrough_client" title="Client code for NATPunchthrough.">NatPunchthroughClient</a>();</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordtype">void</span> FindRouterPortStride(<span class="keyword">const</span> <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> &facilitator);</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">bool</span> OpenNAT(<a class="code" href="../../dd/d3f/struct_s_l_net_1_1_rak_net_g_u_i_d.xhtml">RakNetGUID</a> destination, <span class="keyword">const</span> <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> &facilitator);</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="comment"> bool OpenNATGroup(DataStructures::List<RakNetGUID> destinationSystems, const SystemAddress &facilitator);</span></div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d3/d13/struct_s_l_net_1_1_punchthrough_configuration">PunchthroughConfiguration</a>* GetPunchthroughConfiguration(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordtype">void</span> SetDebugInterface(<a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d5/db1/struct_s_l_net_1_1_nat_punchthrough_debug_interface">NatPunchthroughDebugInterface</a> *i);</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordtype">void</span> GetUPNPPortMappings(<span class="keywordtype">char</span> *externalPort, <span class="keywordtype">char</span> *internalPort, <span class="keyword">const</span> <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> &natPunchthroughServerAddress);</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keyword">virtual</span> <a class="code" href="../../de/d14/group___p_l_u_g_i_n___i_n_t_e_r_f_a_c_e___g_r_o_u_p.xhtml#ga5c8f613a7c294e0b96deccbdabc38f18">PluginReceiveResult</a> OnReceive(<a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#d8/d23/struct_s_l_net_1_1_packet" title="This represents a user message from another system.">Packet</a> *packet);</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnNewConnection(<span class="keyword">const</span> <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> &systemAddress, <a class="code" href="../../dd/d3f/struct_s_l_net_1_1_rak_net_g_u_i_d.xhtml">RakNetGUID</a> rakNetGUID, <span class="keywordtype">bool</span> isIncoming);</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnClosedConnection(<span class="keyword">const</span> <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> &systemAddress, <a class="code" href="../../dd/d3f/struct_s_l_net_1_1_rak_net_g_u_i_d.xhtml">RakNetGUID</a> rakNetGUID, <a class="code" href="../../de/d14/group___p_l_u_g_i_n___i_n_t_e_r_f_a_c_e___g_r_o_u_p.xhtml#ga4d3ac5ca8821fadad6d22d0267e06803">PI2_LostConnectionReason</a> lostConnectionReason );</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnAttach(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnDetach(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnRakPeerShutdown(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordtype">void</span> Clear(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml"> 203</a></span>  <span class="keyword">struct </span><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#dd/d8f/struct_s_l_net_1_1_nat_punchthrough_client_1_1_send_ping">SendPing</a></div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  {</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#ab5d16d576e6a2cc5a9be57e9c0ae039a"> 205</a></span>  <a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#a7223b62c1b67121db1d975f2ab9b74c7">SLNet::Time</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#ab5d16d576e6a2cc5a9be57e9c0ae039a">nextActionTime</a>;</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a93750555062789a03e7ebe964c472d03"> 206</a></span>  <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a93750555062789a03e7ebe964c472d03">targetAddress</a>;</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a8f06ccdacf9a59cfe9026bdb1563f4c6"> 207</a></span>  <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a8f06ccdacf9a59cfe9026bdb1563f4c6">facilitator</a>;</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a49b41f56b35ba97896214cbcd14c0eab"> 208</a></span>  <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> internalIds[<a class="code" href="../../d8/db0/defines_8h.xhtml#aaac58d0b7314b7f900c0045e0c303b80">MAXIMUM_NUMBER_OF_INTERNAL_IDS</a>];</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aab1a33bd7c5c7005796f1c00d518ae2d"> 209</a></span>  <a class="code" href="../../dd/d3f/struct_s_l_net_1_1_rak_net_g_u_i_d.xhtml">RakNetGUID</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aab1a33bd7c5c7005796f1c00d518ae2d">targetGuid</a>;</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a86cdc378c6c5b1b0c100d63e78da0bd2"> 210</a></span>  <span class="keywordtype">bool</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a86cdc378c6c5b1b0c100d63e78da0bd2">weAreSender</a>;</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aa59da5ea19302f6db3cc941bf9ec6000"> 211</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aa59da5ea19302f6db3cc941bf9ec6000">attemptCount</a>;</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#af4455c70c3ed7deb03e54ff0a4d48369"> 212</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#af4455c70c3ed7deb03e54ff0a4d48369">retryCount</a>;</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a7e515371b15b9f9b18d37788f90a2772"> 213</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a7e515371b15b9f9b18d37788f90a2772">punchingFixedPortAttempts</a>; <span class="comment">// only used for TestMode::PUNCHING_FIXED_PORT</span></div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5cc9f9cd17e940279876710ce7c050f9"> 214</a></span>  <a class="code" href="../../df/df2/_native_types_8h.xhtml#a273cf69d639a59973b6019625df33e30">uint16_t</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5cc9f9cd17e940279876710ce7c050f9">sessionId</a>;</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a6164f0171ff45ab296b032aa8014193c"> 215</a></span>  <span class="keywordtype">bool</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a6164f0171ff45ab296b032aa8014193c">sentTTL</a>;</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="comment">// Give priority to internal IP addresses because if we are on a LAN, we don't want to try to connect through the internet</span></div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19f"> 217</a></span>  <span class="keyword">enum</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19f">TestMode</a></div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  {</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fa4fbfd5fdb52ad9f51354f7a7106d5886"> 219</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fa4fbfd5fdb52ad9f51354f7a7106d5886">TESTING_INTERNAL_IPS</a>,</div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fa35948c3b9f4874d9f3dde41baa45c419"> 220</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fa35948c3b9f4874d9f3dde41baa45c419">WAITING_FOR_INTERNAL_IPS_RESPONSE</a>,</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="comment">//SEND_WITH_TTL,</span></div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fa6b8f6b8945d0ff7525cca898d2642318"> 222</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fa6b8f6b8945d0ff7525cca898d2642318">TESTING_EXTERNAL_IPS_FACILITATOR_PORT_TO_FACILITATOR_PORT</a>,</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fafccf31da8dd9effe1c01431c6b3c1f57"> 223</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fafccf31da8dd9effe1c01431c6b3c1f57">TESTING_EXTERNAL_IPS_1024_TO_FACILITATOR_PORT</a>,</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fad932bb34be768311b02ea5d0c7d6de1f"> 224</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fad932bb34be768311b02ea5d0c7d6de1f">TESTING_EXTERNAL_IPS_FACILITATOR_PORT_TO_1024</a>,</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fa31a4756fad520a881ed31dc7ff16bfc4"> 225</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fa31a4756fad520a881ed31dc7ff16bfc4">TESTING_EXTERNAL_IPS_1024_TO_1024</a>,</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fa45b5c13220aa6f75813a5b86b2a89f96"> 226</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19fa45b5c13220aa6f75813a5b86b2a89f96">WAITING_AFTER_ALL_ATTEMPTS</a>,</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="comment">// The trendnet remaps the remote port to 1024.</span></div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="comment">// If you continue punching on a different port for the same IP it bans you and the communication becomes unidirectioal</span></div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19faf6d95d5191758a7e74eec6a40540ad74"> 230</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a53d526f62085bf3ec0aa13688514a19faf6d95d5191758a7e74eec6a40540ad74">PUNCHING_FIXED_PORT</a>,</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="comment">// try port 1024-1028</span></div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  } testMode;</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  } sp;</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> </div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aff1a527a0c65c86a1f384e8cfa7073e5"> 237</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aff1a527a0c65c86a1f384e8cfa7073e5">mostRecentExternalPort</a>;</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="comment">//void OnNatGroupPunchthroughRequest(Packet *packet);</span></div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordtype">void</span> OnFailureNotification(<a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#d8/d23/struct_s_l_net_1_1_packet" title="This represents a user message from another system.">Packet</a> *packet);</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="comment">//void OnNatGroupPunchthroughReply(Packet *packet);</span></div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordtype">void</span> OnGetMostRecentPort(<a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#d8/d23/struct_s_l_net_1_1_packet" title="This represents a user message from another system.">Packet</a> *packet);</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordtype">void</span> OnConnectAtTime(<a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#d8/d23/struct_s_l_net_1_1_packet" title="This represents a user message from another system.">Packet</a> *packet);</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> GetPendingOpenNATIndex(<a class="code" href="../../dd/d3f/struct_s_l_net_1_1_rak_net_g_u_i_d.xhtml">RakNetGUID</a> destination, <span class="keyword">const</span> <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> &facilitator);</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordtype">void</span> SendPunchthrough(<a class="code" href="../../dd/d3f/struct_s_l_net_1_1_rak_net_g_u_i_d.xhtml">RakNetGUID</a> destination, <span class="keyword">const</span> <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> &facilitator);</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keywordtype">void</span> QueueOpenNAT(<a class="code" href="../../dd/d3f/struct_s_l_net_1_1_rak_net_g_u_i_d.xhtml">RakNetGUID</a> destination, <span class="keyword">const</span> <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> &facilitator);</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordtype">void</span> SendQueuedOpenNAT(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordtype">void</span> SendTTL(<span class="keyword">const</span> <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> &sa);</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordtype">void</span> SendOutOfBand(<a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> sa, <a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#a5b5b9eb3be9ad636af02da44b718a75f" title="First byte of a network message.">MessageID</a> oobId);</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordtype">void</span> OnPunchthroughFailure(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordtype">void</span> OnReadyForNextPunchthrough(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordtype">void</span> PushFailure(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordtype">bool</span> RemoveFromFailureQueue(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keywordtype">void</span> PushSuccess(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#ab521f9c5a374ad30c157854e38a5267a"> 255</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d3/d13/struct_s_l_net_1_1_punchthrough_configuration">PunchthroughConfiguration</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#ab521f9c5a374ad30c157854e38a5267a">pc</a>;</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a8fbb7f019ea0313b4e2b24c636687f60"> 256</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d5/db1/struct_s_l_net_1_1_nat_punchthrough_debug_interface">NatPunchthroughDebugInterface</a> *<a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a8fbb7f019ea0313b4e2b24c636687f60">natPunchthroughDebugInterface</a>;</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="comment">// The first time we fail a NAT attempt, we add it to failedAttemptList and try again, since sometimes trying again later fixes the problem</span></div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="comment">// The second time we fail, we return ID_NAT_PUNCHTHROUGH_FAILED</span></div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml"> 260</a></span>  <span class="keyword">struct </span><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d4/d56/struct_s_l_net_1_1_nat_punchthrough_client_1_1_addr_and_guid">AddrAndGuid</a></div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  {</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a30b5e35028c6bdb648ebdbeaceb0114a"> 262</a></span>  <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a30b5e35028c6bdb648ebdbeaceb0114a">addr</a>;</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a93ac7bffcc019418a2108bcae63560d4"> 263</a></span>  <a class="code" href="../../dd/d3f/struct_s_l_net_1_1_rak_net_g_u_i_d.xhtml">RakNetGUID</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a93ac7bffcc019418a2108bcae63560d4">guid</a>;</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  };</div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#add10aedecc06433a15fec96c184ac4c3"> 265</a></span>  <a class="code" href="../../d4/d78/class_data_structures_1_1_list.xhtml">DataStructures::List<AddrAndGuid></a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#add10aedecc06433a15fec96c184ac4c3">failedAttemptList</a>;</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml"> 267</a></span>  <span class="keyword">struct </span><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#d1/d67/struct_s_l_net_1_1_nat_punchthrough_client_1_1_d_s_t_and_fac">DSTAndFac</a></div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  {</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5c5aa9bbadf539b04d8b4f7d3e4496bb"> 269</a></span>  <a class="code" href="../../dd/d3f/struct_s_l_net_1_1_rak_net_g_u_i_d.xhtml">RakNetGUID</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5c5aa9bbadf539b04d8b4f7d3e4496bb">destination</a>;</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aecdbde72c074ee975556252c166c6cfa"> 270</a></span>  <a class="code" href="../../d8/dbe/struct_s_l_net_1_1_system_address.xhtml" title="Network address for a system.">SystemAddress</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aecdbde72c074ee975556252c166c6cfa">facilitator</a>;</div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  };</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#acd2c5386df2c07c87b7f9c8a757ff8a7"> 272</a></span>  <a class="code" href="../../d3/d87/class_data_structures_1_1_queue.xhtml">DataStructures::Queue<DSTAndFac></a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#acd2c5386df2c07c87b7f9c8a757ff8a7">queuedOpenNat</a>;</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> </div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordtype">void</span> IncrementExternalAttemptCount(<a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#a7223b62c1b67121db1d975f2ab9b74c7">SLNet::Time</a> time, <a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#a7223b62c1b67121db1d975f2ab9b74c7">SLNet::Time</a> delta);</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a978b40437a5a114664bb7914c13bcbd4"> 275</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a978b40437a5a114664bb7914c13bcbd4">portStride</a>;</div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keyword">enum</span></div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  {</div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5ffd599930db0048283bf9630a625421ab0dcbafa268d0a40ef27415177750ff8"> 278</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5ffd599930db0048283bf9630a625421ab0dcbafa268d0a40ef27415177750ff8">HAS_PORT_STRIDE</a>,</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5ffd599930db0048283bf9630a625421aaeeba090a268efb34c311dae7d69d645"> 279</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5ffd599930db0048283bf9630a625421aaeeba090a268efb34c311dae7d69d645">UNKNOWN_PORT_STRIDE</a>,</div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5ffd599930db0048283bf9630a625421ad11364d0c6e98bf69f39a1c972e07fad"> 280</a></span>  <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5ffd599930db0048283bf9630a625421ad11364d0c6e98bf69f39a1c972e07fad">CALCULATING_PORT_STRIDE</a>,</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#a5ffd599930db0048283bf9630a625421aa9b68826c9a58138335bd524d990df5a"> 281</a></span>  INCAPABLE_PORT_STRIDE</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  } hasPortStride;</div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"><a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aca5ec9bcae5f8e02951c6d683b1d7902"> 283</a></span>  <a class="code" href="../../dd/d30/namespace_s_l_net.xhtml#a7223b62c1b67121db1d975f2ab9b74c7">SLNet::Time</a> <a class="code" href="../../db/d81/group___n_a_t___p_u_n_c_h_t_h_r_o_u_g_h___g_r_o_u_p.xhtml#aca5ec9bcae5f8e02951c6d683b1d7902">portStrideCalTimeout</a>;</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> </div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="comment"> struct TimeAndGuid</span></div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="comment"> {</span></div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="comment"> SLNet::Time time;</span></div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="comment"> RakNetGUID guid;</span></div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="comment"> };</span></div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="comment"> DataStructures::List<TimeAndGuid> groupRequestsInProgress;</span></div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="comment"></span></div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="comment"> struct GroupPunchRequest</span></div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> <span class="comment"> {</span></div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="comment"> SystemAddress facilitator;</span></div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <span class="comment"> DataStructures::List<RakNetGUID> pendingList;</span></div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> <span class="comment"> DataStructures::List<RakNetGUID> passedListGuid;</span></div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="comment"> DataStructures::List<SystemAddress> passedListAddress;</span></div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="comment"> DataStructures::List<RakNetGUID> failedList;</span></div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="comment"> DataStructures::List<RakNetGUID> ignoredList;</span></div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="comment"> };</span></div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="comment"> DataStructures::List<GroupPunchRequest*> groupPunchRequests;</span></div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="comment"> void UpdateGroupPunchOnNatResult(SystemAddress facilitator, RakNetGUID targetSystem, SystemAddress targetSystemAddress, int result); // 0=failed, 1=success, 2=ignore</span></div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> };</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> } <span class="comment">// namespace SLNet</span></div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> </div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="preprocessor">#endif // _RAKNET_SUPPORT_*</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_74389ed8173ad57b461b9d623a1f3867.xhtml">Source</a></li><li class="navelem"><a class="el" href="../../dir_bbb90e3ef9167a594ae33323139a2595.xhtml">include</a></li><li class="navelem"><a class="el" href="../../dir_88467e66686deb9d3756fe4fc298e321.xhtml">slikenet</a></li><li class="navelem"><a class="el" href="../../d0/d1e/_nat_punchthrough_client_8h.xhtml">NatPunchthroughClient.h</a></li>
|
||||
<li class="footer">Generated on Wed Aug 14 2019 22:09:46 for SLikeNet by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user