mirror of
https://github.com/libp2p/go-reuseport.git
synced 2025-10-01 05:02:08 +08:00
11 lines
158 B
Go
11 lines
158 B
Go
// +build linux
|
|
|
|
package reuseport
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
var soReusePort = 15 // this is not defined in unix go pkg.
|
|
var soReuseAddr = syscall.SO_REUSEADDR
|