1 2 3 4 5 6 7 8 9 10 11 12 13
// +build windows package server6 import ( "errors" "net" ) // NewIPv6UDPConn fails on Windows. Use WithConn() to pass the connection. func NewIPv6UDPConn(iface string, addr *net.UDPAddr) (*net.UDPConn, error) { return nil, errors.New("not implemented on Windows") }