File: conn_windows.go

package info (click to toggle)
golang-github-insomniacslk-dhcp 0.0~git20250417.5f8cf70-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky
  • size: 1,096 kB
  • sloc: makefile: 3
file content (13 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (2)
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")
}