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