195 |
|
|
196 |
/** |
/** |
197 |
* Verify that the udp socket is ready for i|o. The given socket must |
* Verify that the udp socket is ready for i|o. The given socket must |
198 |
* be a connected udp socket. |
* be a connected udp socket. The test is conducted by sending one |
199 |
|
* byte to the server and check for any returned ICMP error when |
200 |
|
* reading from the socket. A better test would be to send an empty |
201 |
|
* udp package to avoid possibly raising an error from the server we |
202 |
|
* are testing. |
203 |
* @param socket A socket |
* @param socket A socket |
204 |
* @return TRUE if the socket is ready, otherwise FALSE. |
* @return TRUE if the socket is ready, otherwise FALSE. |
205 |
*/ |
*/ |