147 |
* select for a stream based socket. For a dgram sockets the testing |
* select for a stream based socket. For a dgram sockets the testing |
148 |
* technique is to send a 0 byte udp packet and "check" for an ICMP |
* technique is to send a 0 byte udp packet and "check" for an ICMP |
149 |
* error. |
* error. |
150 |
* @param Port_T A Port object |
* @param p A Port object |
151 |
* @return TRUE if the socket is ready, otherwise FALSE. |
* @return TRUE if the socket is ready, otherwise FALSE. |
152 |
*/ |
*/ |
153 |
int check_connection_io(Port_T p) { |
int check_connection_io(Port_T p) { |