move implementation to internal/ directory (#828)
This commit is contained in:
committed by
GitHub
parent
b9b9ad10cf
commit
908807bd59
@@ -0,0 +1,13 @@
|
||||
//go:build !linux && !freebsd
|
||||
// +build !linux,!freebsd
|
||||
|
||||
package tcpsock
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func freeBind(network, address string, c syscall.RawConn) error {
|
||||
return fmt.Errorf("IP_FREEBIND equivalent functionality not supported on this platform")
|
||||
}
|
||||
Reference in New Issue
Block a user