nf_setTCPTimeout

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

Parameters

timeout
Timeout value in milliseconds. 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 (2 hours by default). To disable this feature set the timeout value to zero.

Requirements

Driver type WFP, TDI
Header nfapi.h
Library nfapi.lib