RTT wrote:
> Isn't the CtrlSocket.State reliable to know if a connection is still
> on?
No it isn't. Whether or not a connection is still alive can only be
known if either the FD_CLOSE notification from winsock is received
or an attempt to send or receive failed or succeeded.
For example, unplug
Isn't the CtrlSocket.State reliable to know if a connection is still on?
I'm trying to reuse an THttpCli, but I'm getting 10053 errors if a
persistent connection is idle for some time, I suppose the server
keepalive timeout.
The ICS THttpCli code check this CtrlSocket.State property, to try to