mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
Try to SO_REUSEPORT on UNIX platforms
This commit is contained in:
parent
8ade7aed62
commit
eae8f9a666
3 changed files with 36 additions and 1 deletions
9
src/yggdrasil/multicast_other.go
Normal file
9
src/yggdrasil/multicast_other.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
// +build !linux,!darwin,!netbsd,!freebsd,!openbsd,!dragonflybsd
|
||||
|
||||
package yggdrasil
|
||||
|
||||
import "syscall"
|
||||
|
||||
func multicastReuse(network string, address string, c syscall.RawConn) error {
|
||||
return nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue