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