nf_setTCPTimeout

Sets the timeout for TCP connections and returns old timeout.
unsigned long nf_setTCPTimeout(unsigned long timeout)

Parameters

timeout
Timeout value in seconds. Specify zero value to disable timeouts.

Return Values

Old value of TCP timeout.

Remarks

The API library closes inactive TCP connections after exceeding the specified timeout. To disable this feature set the timeout value to zero.