File: conn_windows.go

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