Try to SO_REUSEPORT on UNIX platforms

This commit is contained in:
Neil Alexander 2018-12-05 22:39:04 +00:00
parent 8ade7aed62
commit eae8f9a666
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
3 changed files with 36 additions and 1 deletions

View 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
}