TCP tcpKeepAlive - how to set the timeout value?

207 views
Skip to first unread message

Asher Tarnopolski

unread,
Jan 27, 2022, 4:32:58 AM1/27/22
to vert.x
i can set a tcpKeepAlive for a NetClient, but it's not clear to me how to manage the frequency of keep alive calls. althjough, is there a way to configure when the keepalive will consider the connection as dead and trigger a disconnect?

Julien Viet

unread,
Jan 27, 2022, 5:17:51 AM1/27/22
to vert.x
Hi,

TCP keep alive is a socket option (SO_KEEPALIVE) and usually it is
system wide configuration (e.g
https://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html).

Julien

On Thu, Jan 27, 2022 at 10:33 AM Asher Tarnopolski <ata...@gmail.com> wrote:
>
> i can set a tcpKeepAlive for a NetClient, but it's not clear to me how to manage the frequency of keep alive calls. althjough, is there a way to configure when the keepalive will consider the connection as dead and trigger a disconnect?
>
> --
> You received this message because you are subscribed to the Google Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/50346a29-49de-4e31-b53a-e49406c245d9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages