aboutsummaryrefslogtreecommitdiff
path: root/doc/udp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/udp.html')
-rw-r--r--doc/udp.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/udp.html b/doc/udp.html
index 7f2ecce..9f5cf8f 100644
--- a/doc/udp.html
+++ b/doc/udp.html
@@ -52,7 +52,7 @@ is used to connect the object.
52 52
53<p class="return"> 53<p class="return">
54In case of success, a new unconnected UDP object 54In case of success, a new unconnected UDP object
55returned. In case of error, <tt>nil</tt> is returned, followed by 55returned. In case of error, <b><tt>nil</tt></b> is returned, followed by
56an error message. 56an error message.
57</p> 57</p>
58 58
@@ -112,7 +112,7 @@ Returns the local address information associated to the object.
112<p class="return"> 112<p class="return">
113The method returns a string with local IP 113The method returns a string with local IP
114address and a number with the port. In case of error, the method 114address and a number with the port. In case of error, the method
115returns <tt>nil</tt>. 115returns <b><tt>nil</tt></b>.
116</p> 116</p>
117 117
118<p class="note"> 118<p class="note">
@@ -150,7 +150,7 @@ maximum datagram size is used.
150<p class="return"> 150<p class="return">
151In case of success, the method return the 151In case of success, the method return the
152received datagram. In case of timeout, the method returns 152received datagram. In case of timeout, the method returns
153<tt>nil</tt> followed by the string '<tt>timeout</tt>'. 153<b><tt>nil</tt></b> followed by the string '<tt>timeout</tt>'.
154</p> 154</p>
155 155
156<!-- receivefrom +++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 156<!-- receivefrom +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
@@ -183,7 +183,7 @@ Beware that the maximum datagram size for UDP is 576 bytes.
183 183
184<p class="return"> 184<p class="return">
185If successful, the method returns 1. In case of 185If successful, the method returns 1. In case of
186error, the method returns <tt>nil</tt> followed by the 186error, the method returns <b><tt>nil</tt></b> followed by the
187'<tt>refused</tt>' message. 187'<tt>refused</tt>' message.
188</p> 188</p>
189 189
@@ -214,7 +214,7 @@ names are <em>not</em> allowed for performance reasons.
214 214
215<p class="return"> 215<p class="return">
216If successful, the method returns 1. In case of 216If successful, the method returns 1. In case of
217error, the method returns <tt>nil</tt> followed by the 217error, the method returns <b><tt>nil</tt></b> followed by the
218'<tt>refused</tt>' message. 218'<tt>refused</tt>' message.
219</p> 219</p>
220 220
@@ -258,7 +258,7 @@ case, the <tt>port</tt> argument is ignored.
258 258
259<p class="return"> 259<p class="return">
260In case of error the method returns 260In case of error the method returns
261<tt>nil</tt> followed by an error message. In case of success, the 261<b><tt>nil</tt></b> followed by an error message. In case of success, the
262method returns 1. 262method returns 1.
263</p> 263</p>
264 264
@@ -288,7 +288,7 @@ all local interfaces using the constant <tt>INADDR_ANY</tt>. If
288 288
289<p class="return"> 289<p class="return">
290If successful, the method returns 1. In case of 290If successful, the method returns 1. In case of
291error, the method returns <tt>nil</tt> followed by an error 291error, the method returns <b><tt>nil</tt></b> followed by an error
292message. 292message.
293</p> 293</p>
294 294
@@ -328,7 +328,7 @@ socket.</li>
328 328
329<p class="return"> 329<p class="return">
330The method returns 1 in case of success, or 330The method returns 1 in case of success, or
331<tt>nil</tt> followed by an error message otherwise. 331<b><tt>nil</tt></b> followed by an error message otherwise.
332</p> 332</p>
333 333
334<p class="note"> 334<p class="note">
@@ -356,7 +356,7 @@ give up and fail with an error code.
356 356
357<p class="parameters"> 357<p class="parameters">
358The amount of time to wait is specified as 358The amount of time to wait is specified as
359the <tt>value</tt> parameter, in seconds. The <tt>nil</tt> timeout 359the <tt>value</tt> parameter, in seconds. The <b><tt>nil</tt></b> timeout
360<tt>value</tt> allows operations to block indefinitely. Negative 360<tt>value</tt> allows operations to block indefinitely. Negative
361timeout values have the same effect. 361timeout values have the same effect.
362</p> 362</p>