- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for optSupported (0.11 sec)
-
src/internal/syscall/windows/version_windows.go
return } defer syscall.Closesocket(s) var optSupported = func(opt int) bool { err := syscall.SetsockoptInt(s, syscall.IPPROTO_TCP, opt, 1) return !errors.Is(err, syscall.WSAENOPROTOOPT) } supportTCPKeepAliveIdle = optSupported(TCP_KEEPIDLE) supportTCPKeepAliveInterval = optSupported(TCP_KEEPINTVL) supportTCPKeepAliveCount = optSupported(TCP_KEEPCNT) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 3.6K bytes - Viewed (0)