This project has moved and is read-only. For the latest updates, please go here.


Sep 26, 2012 at 8:16 PM

(copied from email from brown71576)

What does sending Keepalives do?

Sep 26, 2012 at 8:21 PM

If you're using the simple sockets, they use length-prefixed message framing.

Keepalives are then just empty frames (on the wire, it's just 0x00 0x00 0x00 0x00). This enables you to proactively detect dropped connections.


Sep 26, 2012 at 8:23 PM

Thanks Steve.

Sep 26, 2012 at 8:28 PM

(copied from email from brown71576)

If there is a loss of connection like me unplugging the Ethernet cable, will the client continue to try an reconnect to the server?

Sep 26, 2012 at 8:29 PM

Not automatically. The Keepalive setting only gives you notification that the connection was lost. You have to write any retry logic yourself.