We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca0a569 commit 9a29ddeCopy full SHA for 9a29dde
Network/Socket/Options.hsc
@@ -299,6 +299,8 @@ pattern NoDelay = SockOpt (-1) (-1)
299
pattern UserTimeout :: SocketOption
300
#ifdef TCP_USER_TIMEOUT
301
pattern UserTimeout = SockOpt (#const IPPROTO_TCP) (#const TCP_USER_TIMEOUT)
302
+#elif defined(TCP_CONNECTIONTIMEOUT)
303
+pattern UserTimeout = SockOpt (#const IPPROTO_TCP) (#const TCP_CONNECTIONTIMEOUT)
304
#else
305
pattern UserTimeout = SockOpt (-1) (-1)
306
#endif
0 commit comments