Source file
src/net/tcpsockopt_openbsd.go
1
2
3
4
5 package net
6
7 import (
8 "syscall"
9 "time"
10 )
11
12 func setKeepAliveIdle(_ *netFD, d time.Duration) error {
13 if d < 0 {
14 return nil
15 }
16
17
18 return syscall.ENOPROTOOPT
19 }
20
21 func setKeepAliveInterval(_ *netFD, d time.Duration) error {
22 if d < 0 {
23 return nil
24 }
25
26
27 return syscall.ENOPROTOOPT
28 }
29
30 func setKeepAliveCount(_ *netFD, n int) error {
31 if n < 0 {
32 return nil
33 }
34
35
36 return syscall.ENOPROTOOPT
37 }
38
View as plain text