Versions in this module Expand all Collapse all v1 v1.19.0 Nov 25, 2023 Changes in this version + const IPV6_UNICAST_IF — windows/amd64 + const IP_UNICAST_IF — windows/amd64 + var DefaultInterface = atomic.NewString("") + var DefaultOptions []Option + var DefaultRoutingMark = atomic.NewInt32(0) + func DialContext(ctx context.Context, network, address string, options ...Option) (net.Conn, error) + func ListenPacket(ctx context.Context, network, address string, options ...Option) (net.PacketConn, error) + type Option func(opt *option) + func WithAddrReuse(reuse bool) Option + func WithFallbackBind(fallback bool) Option + func WithInterface(name string) Option + func WithRoutingMark(mark int) Option