public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* TCP_KEEPINVTL and TCP_KEEPIDLE - Socket Keep Alives not working
@ 2020-06-07 13:20 Cary Lewis
  2020-06-07 18:19 ` Ken Brown
  0 siblings, 1 reply; 9+ messages in thread
From: Cary Lewis @ 2020-06-07 13:20 UTC (permalink / raw)
  To: cygwin

These constants are usually defined in  netinet/tcp.h but are not defined
anywhere in cygwin.

As a result there does not seem to be a way to enable the socket level keep
alives in cygwin.

One result of this is curl's --keepalive-time option does not work, but it
would affect any attempt to enable socket keep alives.

Windows' sockets do support keep alives, and indeed the win32 version of
curl works correctly.

Can someone explain why the TCP keep alive constants are not defined?

Is it possible to add this functionality?

Where in the cygwin source code does the actual posix socket to winsock
translation take place?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-07-13 13:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-07 13:20 TCP_KEEPINVTL and TCP_KEEPIDLE - Socket Keep Alives not working Cary Lewis
2020-06-07 18:19 ` Ken Brown
2020-06-07 18:56   ` Cary Lewis
2020-06-30 11:12     ` Corinna Vinschen
2020-06-30 13:46       ` Cary Lewis
2020-06-30 16:53         ` Corinna Vinschen
2020-07-01 19:50           ` Corinna Vinschen
2020-07-02 14:52             ` Cary Lewis
2020-07-13 13:05               ` Cary Lewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).