SuperSocket icon indicating copy to clipboard operation
SuperSocket copied to clipboard

ReadTimeOut

Open Janry opened this issue 3 years ago • 2 comments

Need to add ReadTimeOut parameter to close session if nothing receive. Because Idle session check LastActiveTime that update when session send something.

Janry avatar Jun 04 '21 10:06 Janry

https://docs.supersocket.net/v2-0/en-US/Start-SuperSocket-by-Configuration receiveTimeout: the timeout for receiving; in milliseconds;

chucklu avatar Jun 04 '21 10:06 chucklu

@chucklu This is not exactly what I need. I need to close the connection if the client does not send anything within 10 seconds.

Janry avatar Jun 04 '21 10:06 Janry