diff options
Diffstat (limited to 'doc/udp.html')
-rw-r--r-- | doc/udp.html | 18 |
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"> |
54 | In case of success, a new unconnected UDP object | 54 | In case of success, a new unconnected UDP object |
55 | returned. In case of error, <tt>nil</tt> is returned, followed by | 55 | returned. In case of error, <b><tt>nil</tt></b> is returned, followed by |
56 | an error message. | 56 | an 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"> |
113 | The method returns a string with local IP | 113 | The method returns a string with local IP |
114 | address and a number with the port. In case of error, the method | 114 | address and a number with the port. In case of error, the method |
115 | returns <tt>nil</tt>. | 115 | returns <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"> |
151 | In case of success, the method return the | 151 | In case of success, the method return the |
152 | received datagram. In case of timeout, the method returns | 152 | received 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"> |
185 | If successful, the method returns 1. In case of | 185 | If successful, the method returns 1. In case of |
186 | error, the method returns <tt>nil</tt> followed by the | 186 | error, 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"> |
216 | If successful, the method returns 1. In case of | 216 | If successful, the method returns 1. In case of |
217 | error, the method returns <tt>nil</tt> followed by the | 217 | error, 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"> |
260 | In case of error the method returns | 260 | In 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 |
262 | method returns 1. | 262 | method 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"> |
290 | If successful, the method returns 1. In case of | 290 | If successful, the method returns 1. In case of |
291 | error, the method returns <tt>nil</tt> followed by an error | 291 | error, the method returns <b><tt>nil</tt></b> followed by an error |
292 | message. | 292 | message. |
293 | </p> | 293 | </p> |
294 | 294 | ||
@@ -328,7 +328,7 @@ socket.</li> | |||
328 | 328 | ||
329 | <p class="return"> | 329 | <p class="return"> |
330 | The method returns 1 in case of success, or | 330 | The 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"> |
358 | The amount of time to wait is specified as | 358 | The amount of time to wait is specified as |
359 | the <tt>value</tt> parameter, in seconds. The <tt>nil</tt> timeout | 359 | the <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 |
361 | timeout values have the same effect. | 361 | timeout values have the same effect. |
362 | </p> | 362 | </p> |