mirror of
https://github.com/libp2p/go-reuseport.git
synced 2025-10-29 00:41:47 +08:00
11 lines
174 B
Go
11 lines
174 B
Go
// +build linux
|
|
|
|
package reuseport
|
|
|
|
import (
|
|
unix "golang.org/x/sys/unix"
|
|
)
|
|
|
|
var soReusePort = 15 // this is not defined in unix go pkg.
|
|
var soReuseAddr = unix.SO_REUSEADDR
|