diff options
Diffstat (limited to 'Doc/doxygen/html/_net_link_8h_source.html')
-rw-r--r-- | Doc/doxygen/html/_net_link_8h_source.html | 230 |
1 files changed, 230 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_net_link_8h_source.html b/Doc/doxygen/html/_net_link_8h_source.html new file mode 100644 index 0000000..2517d63 --- /dev/null +++ b/Doc/doxygen/html/_net_link_8h_source.html @@ -0,0 +1,230 @@ +<!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>Starshatter_Open: D:/SRC/StarshatterSVN/NetEx/NetLink.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">Starshatter_Open + </div> + <div id="projectbrief">Open source Starshatter engine</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.1 --> +<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.html"><span>Main Page</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><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.html"><span>File List</span></a></li> + <li><a href="globals.html"><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> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('_net_link_8h.html','');}); +</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>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</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">NetLink.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="_net_link_8h.html">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">/* Project nGenEx</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> Destroyer Studios LLC</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> Copyright © 1997-2004. 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"> SUBSYSTEM: NetEx.lib</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> FILE: NetLink.h</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> AUTHOR: John DiCamillo</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"> OVERVIEW</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"> Network Link for Remote Player</span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">*/</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#ifndef NetLink_h</span></div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span><span class="preprocessor">#define NetLink_h</span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <windows.h></span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="_net_addr_8h.html">NetAddr.h</a>"</span></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="_net_sock_8h.html">NetSock.h</a>"</span></div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="_list_8h.html">List.h</a>"</span></div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="_thread_sync_8h.html">ThreadSync.h</a>"</span></div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// +-------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">class </span><a class="code" href="class_net_gram.html">NetGram</a>;</div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">class </span><a class="code" href="class_net_msg.html">NetMsg</a>;</div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">class </span><a class="code" href="class_net_peer.html">NetPeer</a>;</div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// +-------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div> +<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="class_net_link.html"> 33</a></span> <span class="keyword">class </span><a class="code" href="class_net_link.html">NetLink</a></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="keyword">public</span>:</div> +<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="class_net_link.html#af164989b4b5394122500a06a73d3bffe"> 36</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_net_link.html#af164989b4b5394122500a06a73d3bffe">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">"NetLink"</span>; }</div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="class_net_link.html#aafd69f9b5041606a4d883d51f4ad49d2">NetLink</a>();</div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="class_net_link.html#aafd69f9b5041606a4d883d51f4ad49d2">NetLink</a>(<a class="code" href="class_net_addr.html">NetAddr</a>& a);</div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">virtual</span> <a class="code" href="class_net_link.html#ac40cf8224945811808dc846c316480ea">~NetLink</a>();</div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> +<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_net_link.html#a36bc98c3348dedde917baab359e82b3d"> 42</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_net_link.html#a36bc98c3348dedde917baab359e82b3d">operator == </a>(<span class="keyword">const</span> <a class="code" href="class_net_link.html">NetLink</a>& that)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span> == &that; }</div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div> +<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="class_net_link.html#a6d1ae2530a35606772f121ea33bb970c"> 44</a></span>  <span class="keyword">const</span> <a class="code" href="class_net_addr.html">NetAddr</a>& <a class="code" href="class_net_link.html#a6d1ae2530a35606772f121ea33bb970c">GetAddress</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_link.html#a33cc5d0776ff0c0779128e6debb2e8db">addr</a>; }</div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  DWORD <a class="code" href="class_net_link.html#a1ac43a944204971823fe5caa2ee8e47b">AddPeer</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* a, WORD p=12345);</div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  DWORD <a class="code" href="class_net_link.html#a1ac43a944204971823fe5caa2ee8e47b">AddPeer</a>(DWORD a, WORD p=12345);</div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  DWORD <a class="code" href="class_net_link.html#a1ac43a944204971823fe5caa2ee8e47b">AddPeer</a>(<span class="keyword">const</span> <a class="code" href="class_net_addr.html">NetAddr</a>& a);</div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">bool</span> <a class="code" href="class_net_link.html#a834cc6b1a414243d89cb33ea4fcf8770">SendMessage</a>(DWORD nid, <span class="keywordtype">void</span>* d, <span class="keywordtype">int</span> l, BYTE f=0);</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">bool</span> <a class="code" href="class_net_link.html#a834cc6b1a414243d89cb33ea4fcf8770">SendMessage</a>(DWORD nid, BYTE type, <span class="keyword">const</span> <span class="keywordtype">char</span>* text, <span class="keywordtype">int</span> len, BYTE f=0);</div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordtype">bool</span> <a class="code" href="class_net_link.html#a834cc6b1a414243d89cb33ea4fcf8770">SendMessage</a>(<a class="code" href="class_net_msg.html">NetMsg</a>* msg);</div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="class_net_msg.html">NetMsg</a>* <a class="code" href="class_net_link.html#a4918a359dabca3862612557ea70aeacf">GetMessage</a>();</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="class_net_msg.html">NetMsg</a>* <a class="code" href="class_net_link.html#a4918a359dabca3862612557ea70aeacf">GetMessage</a>(DWORD netid);</div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div> +<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_net_link.html#a6ac199585588fe14bcb179b3290d4912">Shutdown</a>();</div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  DWORD <a class="code" href="class_net_link.html#a148c9502c28421fef16cad8612a9922e">DoSendRecv</a>();</div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div> +<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="class_net_link.html#a036af9eba6ada382f61057080768cae6"> 60</a></span>  DWORD <a class="code" href="class_net_link.html#a036af9eba6ada382f61057080768cae6">GetResendInterval</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_link.html#a516e1a1fcfcf1e56d40248e9de42f3bf">resend_time</a>; }</div> +<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="class_net_link.html#a7beb6f157453f1864756d6f3da975d40"> 61</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_net_link.html#a7beb6f157453f1864756d6f3da975d40">SetResendInterval</a>(DWORD t) { <a class="code" href="class_net_link.html#a516e1a1fcfcf1e56d40248e9de42f3bf">resend_time</a> = t; }</div> +<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="class_net_link.html#a96dcf4c1bbc34102a7941ece16d93b56"> 62</a></span>  DWORD <a class="code" href="class_net_link.html#a96dcf4c1bbc34102a7941ece16d93b56">GetTrafficInterval</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_link.html#a1b80b5a9b10123944085e9707920264d">traffic_time</a>; }</div> +<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="class_net_link.html#ab298a5c3b7d5827aefe1a2006e215b8a"> 63</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_net_link.html#ab298a5c3b7d5827aefe1a2006e215b8a">SetTrafficInterval</a>(DWORD t) { <a class="code" href="class_net_link.html#a1b80b5a9b10123944085e9707920264d">traffic_time</a> = t; }</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div> +<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="class_net_link.html#ae4d7d6e1459333fb6e7ed5d868333fb4"> 65</a></span>  DWORD <a class="code" href="class_net_link.html#ae4d7d6e1459333fb6e7ed5d868333fb4">GetPacketsSent</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_link.html#ac85294335893386ca312f2ea5a1ae0be">packets_sent</a>; }</div> +<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="class_net_link.html#ad500bc04443ea59917ada68aaee22fe0"> 66</a></span>  DWORD <a class="code" href="class_net_link.html#ad500bc04443ea59917ada68aaee22fe0">GetPacketsRecv</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_link.html#ad046106ce50d8c7d491cc9c24c8ca79d">packets_recv</a>; }</div> +<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="class_net_link.html#a374d5594ab81a30949688bfab04ba738"> 67</a></span>  DWORD <a class="code" href="class_net_link.html#a374d5594ab81a30949688bfab04ba738">GetBytesSent</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_link.html#a59d0394a7449aa53b9d41a7e0a227111">bytes_sent</a>; }</div> +<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="class_net_link.html#a299e0038b304d6ea384f637f25ca29b5"> 68</a></span>  DWORD <a class="code" href="class_net_link.html#a299e0038b304d6ea384f637f25ca29b5">GetBytesRecv</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_link.html#a5fe7c0f9342345f686c9277cd153e77f">bytes_recv</a>; }</div> +<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="class_net_link.html#ac45a06e3c063928220466a2d7fc85b21"> 69</a></span>  DWORD <a class="code" href="class_net_link.html#ac45a06e3c063928220466a2d7fc85b21">GetRetries</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_link.html#aad448593c61d45ea48617e029d422b1f">retries</a>; }</div> +<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="class_net_link.html#a4351115f3ebe556b9b65c6b184ee5f5e"> 70</a></span>  DWORD <a class="code" href="class_net_link.html#a4351115f3ebe556b9b65c6b184ee5f5e">GetDrops</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_link.html#a5f0bccae23e14b2d1684c16052d5095c">drops</a>; }</div> +<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="class_net_link.html#aab0d4134ef7701c734784150c5f4ab2b"> 71</a></span>  DWORD <a class="code" href="class_net_link.html#aab0d4134ef7701c734784150c5f4ab2b">GetLag</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_link.html#adfcd5163714733fa0663c0986fa290aa">lag</a>; }</div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="class_net_peer.html">NetPeer</a>* <a class="code" href="class_net_link.html#a9400d3840da43a59782b27dc0dd58a18">FindPeer</a>(<span class="keyword">const</span> <a class="code" href="class_net_addr.html">NetAddr</a>& a);</div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="class_net_peer.html">NetPeer</a>* <a class="code" href="class_net_link.html#a9400d3840da43a59782b27dc0dd58a18">FindPeer</a>(DWORD netid);</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keyword">protected</span>:</div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">void</span> <a class="code" href="class_net_link.html#aa618fc621d265e9ec2c41d406036e064">SendNetGram</a>(<a class="code" href="class_net_gram.html">NetGram</a>* g);</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="class_net_gram.html">NetGram</a>* <a class="code" href="class_net_link.html#a83e5e9177e0dbd764f8d24d06e6b2c70">RecvNetGram</a>();</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">void</span> <a class="code" href="class_net_link.html#aee716633b59beed1d862a3f38dc0f13d">AckNetGram</a>(<a class="code" href="class_net_gram.html">NetGram</a>* gram);</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">void</span> <a class="code" href="class_net_link.html#a1d905303807fbe4d1ce1accc8d77b5ba">ProcessAck</a>(<a class="code" href="class_net_gram.html">NetGram</a>* gram);</div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordtype">void</span> <a class="code" href="class_net_link.html#ac27ef67f02c5f6590e0aaaef65e39227">QueueNetGram</a>(<a class="code" href="class_net_gram.html">NetGram</a>* gram);</div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">void</span> <a class="code" href="class_net_link.html#a5f2ed5c32dacab04583dec66c09bb588">ReadPackets</a>();</div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">void</span> <a class="code" href="class_net_link.html#ad6eac44de62d1ec072a90b4635fbdf34">SendPackets</a>();</div> +<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">void</span> <a class="code" href="class_net_link.html#ace57724ce76d841bb568b3fea5346da8">DoRetries</a>();</div> +<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div> +<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="class_net_link.html#a33cc5d0776ff0c0779128e6debb2e8db"> 87</a></span>  <a class="code" href="class_net_addr.html">NetAddr</a> <a class="code" href="class_net_link.html#a33cc5d0776ff0c0779128e6debb2e8db">addr</a>;</div> +<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_net_link.html#ac786b0d6d90c31fd3e6d83e7fa7eaa79"> 88</a></span>  <a class="code" href="class_net_sock.html">NetSock</a> <a class="code" href="class_net_link.html#ac786b0d6d90c31fd3e6d83e7fa7eaa79">sock</a>;</div> +<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_net_link.html#ab7e2fa767f7a56ae0af164bb02ff85e4"> 89</a></span>  <a class="code" href="class_list.html">List<NetGram></a> <a class="code" href="class_net_link.html#ab7e2fa767f7a56ae0af164bb02ff85e4">send_list</a>;</div> +<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_net_link.html#a951c58cda18b4b61dd9ee0d88635e44c"> 90</a></span>  <a class="code" href="class_list.html">List<NetMsg></a> <a class="code" href="class_net_link.html#a951c58cda18b4b61dd9ee0d88635e44c">recv_list</a>;</div> +<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="class_net_link.html#a4e0819a321e4921126e4529f85a736bc"> 91</a></span>  <a class="code" href="class_list.html">List<NetPeer></a> <a class="code" href="class_net_link.html#a4e0819a321e4921126e4529f85a736bc">peer_list</a>;</div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> +<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="class_net_link.html#a5ae87b0d99a3a33d4c4818208bef3efc"> 93</a></span>  HANDLE <a class="code" href="class_net_link.html#a5ae87b0d99a3a33d4c4818208bef3efc">hnet</a>;</div> +<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="class_net_link.html#a10cc448ad1c056782cb155b05be0ec67"> 94</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_net_link.html#a10cc448ad1c056782cb155b05be0ec67">shutdown</a>;</div> +<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="class_net_link.html#a0d8e8caf7ea380665585dd3d12bbf794"> 95</a></span>  <a class="code" href="class_thread_sync.html">ThreadSync</a> <a class="code" href="class_net_link.html#a0d8e8caf7ea380665585dd3d12bbf794">sync</a>;</div> +<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div> +<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="class_net_link.html#a516e1a1fcfcf1e56d40248e9de42f3bf"> 97</a></span>  DWORD <a class="code" href="class_net_link.html#a516e1a1fcfcf1e56d40248e9de42f3bf">resend_time</a>;</div> +<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="class_net_link.html#a1b80b5a9b10123944085e9707920264d"> 98</a></span>  DWORD <a class="code" href="class_net_link.html#a1b80b5a9b10123944085e9707920264d">traffic_time</a>;</div> +<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div> +<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="class_net_link.html#ac85294335893386ca312f2ea5a1ae0be"> 100</a></span>  DWORD <a class="code" href="class_net_link.html#ac85294335893386ca312f2ea5a1ae0be">packets_sent</a>;</div> +<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="class_net_link.html#ad046106ce50d8c7d491cc9c24c8ca79d"> 101</a></span>  DWORD <a class="code" href="class_net_link.html#ad046106ce50d8c7d491cc9c24c8ca79d">packets_recv</a>;</div> +<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_net_link.html#a59d0394a7449aa53b9d41a7e0a227111"> 102</a></span>  DWORD <a class="code" href="class_net_link.html#a59d0394a7449aa53b9d41a7e0a227111">bytes_sent</a>;</div> +<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="class_net_link.html#a5fe7c0f9342345f686c9277cd153e77f"> 103</a></span>  DWORD <a class="code" href="class_net_link.html#a5fe7c0f9342345f686c9277cd153e77f">bytes_recv</a>;</div> +<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_net_link.html#aad448593c61d45ea48617e029d422b1f"> 104</a></span>  DWORD <a class="code" href="class_net_link.html#aad448593c61d45ea48617e029d422b1f">retries</a>;</div> +<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="class_net_link.html#a5f0bccae23e14b2d1684c16052d5095c"> 105</a></span>  DWORD <a class="code" href="class_net_link.html#a5f0bccae23e14b2d1684c16052d5095c">drops</a>;</div> +<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="class_net_link.html#adfcd5163714733fa0663c0986fa290aa"> 106</a></span>  DWORD <a class="code" href="class_net_link.html#adfcd5163714733fa0663c0986fa290aa">lag</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="class_net_link.html#a5f96f64ef9b66733a3d2381aba5e81db"> 108</a></span>  DWORD <a class="code" href="class_net_link.html#a5f96f64ef9b66733a3d2381aba5e81db">lag_samples</a>[10];</div> +<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_net_link.html#a0530fefdf4213ec06673bf89fe4ee361"> 109</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_net_link.html#a0530fefdf4213ec06673bf89fe4ee361">lag_index</a>;</div> +<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> };</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="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor">#endif NetLink_h</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_abfa74b17cedb79c09123abbf53b6754.html">NetEx</a></li><li class="navelem"><a class="el" href="_net_link_8h.html">NetLink.h</a></li> + <li class="footer">Generated on Tue Jun 5 2012 20:46:18 for Starshatter_Open by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li> + </ul> +</div> +</body> +</html> |