Skip to content

Conversation

@Protonull
Copy link
Contributor

SO_KEEPALIVE is already enabled clientside, which I presume means the client can detect unexpected disconnects, but not the server? Enabling it for the server too should resolve #7, but I'm unsure: why would websockets for example need ping/pong packets if tcp's keepalive already does that?

This is already enabled clientside, but [presumably] has no effect because the server does not have it enabled.
@Protonull Protonull closed this by deleting the head repository Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

disconnect detection using keepalives

1 participant