f_evt_timeout
- f_evt_timeout
- CALLING
- f_evt_timeout(s_evt_channel *ps_chan, seconds)
- PURPOSE
- Set a timeout for TCP read operations
- ARGUMENTS
-
- ps_chan
- Address of channel structure.
- seconds
- -1: wait (default)
>0: if after n seconds no data arrived,
read functions return GETEVT__TIMEOUT.
- Return type
- INTS4
- Declaration
-
INTS4 f_evt_timeout(s_evt_channel *, INTS4 );
- FUNCTION
- Set a timeout for TCP read operations.
The calls of f_evt_get_event, f_evt_get_buffer
will return GETEVT__TIMEOUT when seconds have been
set to positive value.