-
Notifications
You must be signed in to change notification settings - Fork 11
Investigate TCP Keepalives #13
Comments
That could also be done with the |
Windows does not support the
See example: http://read.pudn.com/downloads79/ebook/301417/Chapter09/SIO_KEEPALIVE_VALS/alive.c__.htm |
It's weird, on Mac OS seems like |
We won't be using TCP keepalive functionality any time soon. Now, it's obvious that it's configuration differs on each platform and it only works with TCP, but socket-collection also supports UDP based protocols. So are postponing this research to the future. |
Ideally we would want to not have app level
heartbeat
if protocol levelkeepalives
are sufficient. However the API for it is not very flexible at this time inmio
and allows to set the duration after which the 1stkeepalive
should be sent when the socket is idling, but not how much interval needs to elapse before we decide to sever the connection or how manykeepalives
we send after the firstkeepalive
. Depending on the duration ofkeepalive-interval
(the 1stkeepalive
that is sent) other parameters seem to be fixed to reasonable defaults as noted here.The text was updated successfully, but these errors were encountered: