diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-12 18:31:52 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-12 18:31:52 +0000 |
commit | 4d6d3859d208d5576e7149de9a0a5576b7cf5153 (patch) | |
tree | d6df51411f0c6bb1e260b784a40f9823946de724 /docs/module-doc/classSocketEngine.html | |
parent | 3a2679d0e4c41c326cecdcd2f847bdcc4f2681ca (diff) |
Added extra documentation for InspSocket (at last)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2356 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc/classSocketEngine.html')
-rw-r--r-- | docs/module-doc/classSocketEngine.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/module-doc/classSocketEngine.html b/docs/module-doc/classSocketEngine.html index a72e347c6..50de26e7d 100644 --- a/docs/module-doc/classSocketEngine.html +++ b/docs/module-doc/classSocketEngine.html @@ -190,7 +190,7 @@ Definition at line <a class="el" href="socketengine_8cpp-source.html#l00065">65< <p> References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, <a class="el" href="socketengine_8h-source.html#l00068">fds</a>, <a class="el" href="socketengine_8cpp-source.html#l00033">ref</a>, and <a class="el" href="socketengine_8h-source.html#l00055">X_READBIT</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00054">InspSocket::InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00197">InspSocket::Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00066"></a>00066 { +Referenced by <a class="el" href="socket_8cpp-source.html#l00054">InspSocket::InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00214">InspSocket::Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00066"></a>00066 { <a name="l00067"></a>00067 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) <a name="l00068"></a>00068 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00069"></a>00069 this-><a class="code" href="classSocketEngine.html#fds">fds</a>.push_back(fd); @@ -264,7 +264,7 @@ Definition at line <a class="el" href="socketengine_8cpp-source.html#l00103">103 <p> References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, <a class="el" href="socketengine_8h-source.html#l00068">fds</a>, <a class="el" href="socketengine_8cpp-source.html#l00033">ref</a>, and <a class="el" href="socketengine_8h-source.html#l00055">X_READBIT</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00197">InspSocket::Poll()</a>, and <a class="el" href="modules_8cpp-source.html#l00669">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00104"></a>00104 { +Referenced by <a class="el" href="socket_8cpp-source.html#l00214">InspSocket::Poll()</a>, and <a class="el" href="modules_8cpp-source.html#l00669">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00104"></a>00104 { <a name="l00105"></a>00105 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::DelFd(%d)"</span>,fd); <a name="l00106"></a>00106 <a name="l00107"></a>00107 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) @@ -448,7 +448,7 @@ References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a clas <a name="l00164"></a>00164 <a name="l00165"></a>00165 } <a name="l00166"></a>00166 tval.tv_sec = 0; -<a name="l00167"></a>00167 tval.tv_usec = 1000L; +<a name="l00167"></a>00167 tval.tv_usec = 100L; <a name="l00168"></a>00168 sresult = select(FD_SETSIZE, &rfdset, &wfdset, NULL, &tval); <a name="l00169"></a>00169 <span class="keywordflow">if</span> (sresult > 0) <a name="l00170"></a>00170 { @@ -463,14 +463,14 @@ References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a clas <a name="l00179"></a>00179 } <a name="l00180"></a>00180 <span class="preprocessor">#endif</span> <a name="l00181"></a>00181 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> -<a name="l00182"></a>00182 <span class="preprocessor"></span> <a class="code" href="classSocketEngine.html#ts">ts</a>.tv_nsec = 1000L; +<a name="l00182"></a>00182 <span class="preprocessor"></span> <a class="code" href="classSocketEngine.html#ts">ts</a>.tv_nsec = 10000L; <a name="l00183"></a>00183 <a class="code" href="classSocketEngine.html#ts">ts</a>.tv_sec = 0; <a name="l00184"></a>00184 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, NULL, 0, &<a class="code" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">ke_list</a>[0], 65535, &<a class="code" href="classSocketEngine.html#ts">ts</a>); <a name="l00185"></a>00185 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < i; j++) <a name="l00186"></a>00186 fdlist.push_back(<a class="code" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">ke_list</a>[j].ident); <a name="l00187"></a>00187 <span class="preprocessor">#endif</span> <a name="l00188"></a>00188 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span> -<a name="l00189"></a>00189 <span class="preprocessor"></span> <span class="keywordtype">int</span> i = epoll_wait(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, events, 65535, 1); +<a name="l00189"></a>00189 <span class="preprocessor"></span> <span class="keywordtype">int</span> i = epoll_wait(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, events, 65535, 100); <a name="l00190"></a>00190 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < i; j++) <a name="l00191"></a>00191 fdlist.push_back(events[j].data.fd); <a name="l00192"></a>00192 <span class="preprocessor">#endif</span> @@ -592,7 +592,7 @@ Referenced by <a class="el" href="socketengine_8cpp-source.html#l00146">Wait()</ </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="socketengine_8h-source.html">socketengine.h</a><li><a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 18:31:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> |