diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNLNET_1_1CTcpSock.html | 472 |
1 files changed, 472 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLNET_1_1CTcpSock.html b/docs/doxygen/nel/classNLNET_1_1CTcpSock.html new file mode 100644 index 00000000..ff876fdd --- /dev/null +++ b/docs/doxygen/nel/classNLNET_1_1CTcpSock.html @@ -0,0 +1,472 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NLNET::CTcpSock Class Reference</h1><a class="el" href="classNLNET_1_1CTcpSock.html">CTcpSock</a>: Reliable socket via TCP. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="tcp__sock_8h-source.html">tcp_sock.h</a>></code> +<p> +<p>Inheritance diagram for NLNET::CTcpSock: +<p><center><img src="classNLNET_1_1CTcpSock.gif" usemap="#NLNET::CTcpSock_map" border="0"></center> +<map name="NLNET::CTcpSock_map"> +<area href="classNLNET_1_1CSock.html" alt="NLNET::CSock" shape="rect" coords="83,0,240,24"> +<area href="classNLNET_1_1CDummyTcpSock.html" alt="NLNET::CDummyTcpSock" shape="rect" coords="0,112,157,136"> +<area href="classNLNET_1_1CListenSock.html" alt="NLNET::CListenSock" shape="rect" coords="167,112,324,136"> +</map> +<a href="classNLNET_1_1CTcpSock-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Socket setup</div></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLNET_1_1CTcpSock.html#z359_0">CTcpSock</a> (bool logging=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#z359_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLNET_1_1CTcpSock.html#z359_1">CTcpSock</a> (SOCKET sock, const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &remoteaddr)</td></tr> +<tr><td> </td><td><font size=-1><em>Construct a <a class="el" href="classNLNET_1_1CTcpSock.html">CTcpSock</a> object using an already connected socket descriptor and its associated remote address.</em> <a href="#z359_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLNET_1_1CTcpSock.html#z359_2">connect</a> (const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Connection.</em> <a href="#z359_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CTcpSock.html#z359_3">connectWithCustomWindowSize</a> (const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>, int windowsize)</td></tr> +<tr><td> </td><td><font size=-1><em>Sets a custom TCP Window size (SO_RCVBUF and SO_SNDBUF).</em> <a href="#z359_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CTcpSock.html#z359_4">getWindowSize</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the TCP Window Size for the current socket.</em> <a href="#z359_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLNET_1_1CTcpSock.html#z359_5">setNoDelay</a> (bool <a class="el" href="driver__opengl__extension__def_8h.html#a415">value</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Sets/unsets TCP_NODELAY (by default, it is off, i.e.</em> <a href="#z359_5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CTcpSock.html#z359_6">shutdownReceiving</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Active disconnection for download way only (partial shutdown).</em> <a href="#z359_6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CTcpSock.html#z359_7">shutdownSending</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Active disconnection for upload way only (partial shutdown).</em> <a href="#z359_7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLNET_1_1CTcpSock.html#z359_8">disconnect</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Active disconnection (shutdown) (mutexed). <a class="el" href="classNLNET_1_1CSock.html#z358_0">connected</a>() becomes false.</em> <a href="#z359_8">More...</a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="classNLNET_1_1CTcpSock.html">CTcpSock</a>: Reliable socket via TCP. +<p> +See base class <a class="el" href="classNLNET_1_1CSock.html">CSock</a>. +<p> +When to set No Delay mode on ? Set TCP_NODELAY (call setNoDelay(true)) *only* if you have to send small buffers that need to be sent *immediately*. It should only be set for applications that send frequent small bursts of information without getting an immediate response, where timely delivery of data is required (the canonical example is mouse movements). Setting TCP_NODELAY on increases the network traffic (more overhead). In the normal behavior of <a class="el" href="classNLNET_1_1CSock.html">CSock</a>, TCP_NODELAY is off i.e. the Nagle buffering algorithm is enabled. +<p> +<dl compact><dt><b> +Author: </b><dd> +Olivier Cado , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2000-2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="tcp__sock_8h-source.html#l00051">51</a> of file <a class="el" href="tcp__sock_8h-source.html">tcp_sock.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="z359_0" doxytag="NLNET::CTcpSock::CTcpSock"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLNET::CTcpSock::CTcpSock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>logging</em> = true </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>logging</em> </td><td> +Disable logging if the server socket object is used by the logging system, to avoid infinite recursion </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="tcp__sock_8cpp-source.html#l00061">61</a> of file <a class="el" href="tcp__sock_8cpp-source.html">tcp_sock.cpp</a>. +<p> +Referenced by <a class="el" href="listen__sock_8cpp-source.html#l00128">NLNET::CListenSock::accept</a>, and <a class="el" href="dummy__tcp__sock_8h-source.html#l00047">NLNET::CDummyTcpSock::CDummyTcpSock</a>. </td> + </tr> +</table> +<a name="z359_1" doxytag="NLNET::CTcpSock::CTcpSock"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLNET::CTcpSock::CTcpSock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">SOCKET </td> + <td class="mdname" nowrap> <em>sock</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> & </td> + <td class="mdname" nowrap> <em>remoteaddr</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Construct a <a class="el" href="classNLNET_1_1CTcpSock.html">CTcpSock</a> object using an already connected socket descriptor and its associated remote address. +<p> + +<p> +Definition at line <a class="el" href="tcp__sock_8cpp-source.html#l00069">69</a> of file <a class="el" href="tcp__sock_8cpp-source.html">tcp_sock.cpp</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="z359_2" doxytag="NLNET::CTcpSock::connect"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CTcpSock::connect </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>addr</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Connection. +<p> +You can reconnect a socket after being disconnected. This method does not return a boolean, otherwise a programmer could ignore the result and no exception would be thrown if connection fails :<ul> +<li>If addr is not valid, an exception <a class="el" href="structNLNET_1_1ESocket.html">ESocket</a> is thrown<li>If <a class="el" href="classNLNET_1_1CTcpSock.html#z359_2">connect</a>() fails for another reason, an exception <a class="el" href="structNLNET_1_1ESocketConnectionFailed.html">ESocketConnectionFailed</a> is thrown </ul> + +<p> +Reimplemented from <a class="el" href="classNLNET_1_1CSock.html#z355_0">NLNET::CSock</a>. +<p> +Reimplemented in <a class="el" href="classNLNET_1_1CDummyTcpSock.html#a1">NLNET::CDummyTcpSock</a>. +<p> +Definition at line <a class="el" href="tcp__sock_8cpp-source.html#l00080">80</a> of file <a class="el" href="tcp__sock_8cpp-source.html">tcp_sock.cpp</a>. +<p> +References <a class="el" href="sock_8h-source.html#l00281">NLNET::CSock::_Sock</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00823">addr</a>, <a class="el" href="classNLNET_1_1CSock.html#z355_3">NLNET::CSock::close</a>, and <a class="el" href="classNLNET_1_1CSock.html#b2">NLNET::CSock::createSocket</a>. </td> + </tr> +</table> +<a name="z359_3" doxytag="NLNET::CTcpSock::connectWithCustomWindowSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CTcpSock::connectWithCustomWindowSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> & </td> + <td class="mdname" nowrap> <em>addr</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>windowsize</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sets a custom TCP Window size (SO_RCVBUF and SO_SNDBUF). +<p> +You must close the socket is necessary, before calling this method. +<p> +See <a href="http://www.ncsa.uiuc.edu/People/vwelch/net_perf/tcp_windows.html">http://www.ncsa.uiuc.edu/People/vwelch/net_perf/tcp_windows.html</a> +<p> +Definition at line <a class="el" href="tcp__sock_8cpp-source.html#l00161">161</a> of file <a class="el" href="tcp__sock_8cpp-source.html">tcp_sock.cpp</a>. +<p> +References <a class="el" href="sock_8h-source.html#l00281">NLNET::CSock::_Sock</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00823">addr</a>, <a class="el" href="classNLNET_1_1CSock.html#b2">NLNET::CSock::createSocket</a>, and <a class="el" href="debug_8h-source.html#l00133">nlerror</a>. </td> + </tr> +</table> +<a name="z359_8" doxytag="NLNET::CTcpSock::disconnect"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CTcpSock::disconnect </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Active disconnection (shutdown) (mutexed). <a class="el" href="classNLNET_1_1CSock.html#z358_0">connected</a>() becomes false. +<p> + +<p> +Reimplemented in <a class="el" href="classNLNET_1_1CDummyTcpSock.html#a2">NLNET::CDummyTcpSock</a>. +<p> +Definition at line <a class="el" href="tcp__sock_8cpp-source.html#l00101">101</a> of file <a class="el" href="tcp__sock_8cpp-source.html">tcp_sock.cpp</a>. +<p> +References <a class="el" href="sock_8h-source.html#l00297">NLNET::CSock::_Connected</a>, <a class="el" href="sock_8h-source.html#l00287">NLNET::CSock::_RemoteAddr</a>, <a class="el" href="sock_8h-source.html#l00281">NLNET::CSock::_Sock</a>, and <a class="el" href="debug_8h-source.html#l00087">nldebug</a>. </td> + </tr> +</table> +<a name="z359_4" doxytag="NLNET::CTcpSock::getWindowSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLNET::CTcpSock::getWindowSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the TCP Window Size for the current socket. +<p> + +<p> +Definition at line <a class="el" href="tcp__sock_8cpp-source.html#l00185">185</a> of file <a class="el" href="tcp__sock_8cpp-source.html">tcp_sock.cpp</a>. +<p> +References <a class="el" href="sock_8h-source.html#l00281">NLNET::CSock::_Sock</a>. </td> + </tr> +</table> +<a name="z359_5" doxytag="NLNET::CTcpSock::setNoDelay"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CTcpSock::setNoDelay </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>value</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sets/unsets TCP_NODELAY (by default, it is off, i.e. +<p> +the Nagle buffering algorithm is enabled). You must call this method *after* <a class="el" href="classNLNET_1_1CTcpSock.html#z359_2">connect</a>(). +<p> +Reimplemented in <a class="el" href="classNLNET_1_1CDummyTcpSock.html#a3">NLNET::CDummyTcpSock</a>. +<p> +Definition at line <a class="el" href="tcp__sock_8cpp-source.html#l00146">146</a> of file <a class="el" href="tcp__sock_8cpp-source.html">tcp_sock.cpp</a>. +<p> +References <a class="el" href="sock_8h-source.html#l00281">NLNET::CSock::_Sock</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00828">value</a>. </td> + </tr> +</table> +<a name="z359_6" doxytag="NLNET::CTcpSock::shutdownReceiving"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CTcpSock::shutdownReceiving </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Active disconnection for download way only (partial shutdown). +<p> + +<p> +Definition at line <a class="el" href="tcp__sock_8cpp-source.html#l00120">120</a> of file <a class="el" href="tcp__sock_8cpp-source.html">tcp_sock.cpp</a>. +<p> +References <a class="el" href="sock_8h-source.html#l00281">NLNET::CSock::_Sock</a>. </td> + </tr> +</table> +<a name="z359_7" doxytag="NLNET::CTcpSock::shutdownSending"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CTcpSock::shutdownSending </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Active disconnection for upload way only (partial shutdown). +<p> + +<p> +Definition at line <a class="el" href="tcp__sock_8cpp-source.html#l00133">133</a> of file <a class="el" href="tcp__sock_8cpp-source.html">tcp_sock.cpp</a>. +<p> +References <a class="el" href="sock_8h-source.html#l00281">NLNET::CSock::_Sock</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="tcp__sock_8h-source.html">tcp_sock.h</a><li><a class="el" href="tcp__sock_8cpp-source.html">tcp_sock.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |