Home |
Function xn_add_host_table_entry Function xn_delete_host_table_entry Function xn_interface_open_config Function xn_interface_ethernet_statistics Function xn_interface_statistics Function xn_tcp_is_write Function xn_send_ethernet_frame Function cb_wr_screen_string_fnc Function cb_rs232_connection_lost_fnc |
Function xn_tcp_is_writeChecks the state of a socket. int xn_tcp_is_write(SOCKET socket); ParameterssocketSocket returned by socket or accept. return valueReturns TRUE if the socket is a TCP socket which can accept data for sending. Checks if the socket is in a legal state to write data to it. This routine is useful to call after select to determine whether a socket which select determined as ready to write (i.e. write will not block) is ready due to an error or is ready to accept more data.
|