aboutsummaryrefslogtreecommitdiff
path: root/docs/tcp.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tcp.html')
-rw-r--r--docs/tcp.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/tcp.html b/docs/tcp.html
index 715d28f..580bdcf 100644
--- a/docs/tcp.html
+++ b/docs/tcp.html
@@ -196,6 +196,25 @@ Note: <b>This is an internal method, use at your own risk.</b>
196</p> 196</p>
197 197
198 198
199<!-- getfamily +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
200
201<p class="name" id="getfamily">
202master:<b>getfamily()</b><br>
203client:<b>getfamily()</b><br>
204server:<b>getfamily()</b>
205</p>
206
207<p class="description">
208Returns the family of the underlying socket, as chosen when the object was
209created by <a href="socket.html#connect"><tt>socket.tcp</tt></a>,
210<a href="#socket.tcp4"><tt>socket.tcp4</tt></a> or
211<a href="#socket.tcp6"><tt>socket.tcp6</tt></a>.
212</p>
213
214<p class="return">
215The string "<tt>inet4</tt>" or "<tt>inet6</tt>".
216</p>
217
199<!-- getfd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 218<!-- getfd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
200 219
201<p class="name" id="getfd"> 220<p class="name" id="getfd">
@@ -651,6 +670,30 @@ This is the default mode;</li>
651This function returns 1. 670This function returns 1.
652</p> 671</p>
653 672
673<!-- setpeername +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
674
675<p class="name" id="setpeername">
676master:<b>setpeername(</b>address, port<b>)</b>
677</p>
678
679<p class="description">
680Alias for <a href="#connect"><tt>connect</tt></a>, kept for naming symmetry
681with <a href="udp.html#setpeername"><tt>udp:setpeername</tt></a> and with
682<a href="#getpeername"><tt>getpeername</tt></a>.
683</p>
684
685<!-- setsockname +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
686
687<p class="name" id="setsockname">
688master:<b>setsockname(</b>address, port<b>)</b>
689</p>
690
691<p class="description">
692Alias for <a href="#bind"><tt>bind</tt></a>, kept for naming symmetry
693with <a href="udp.html#setsockname"><tt>udp:setsockname</tt></a> and with
694<a href="#getsockname"><tt>getsockname</tt></a>.
695</p>
696
654<!-- setfd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 697<!-- setfd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
655 698
656<p class="name" id="setfd"> 699<p class="name" id="setfd">