bind

package
v0.0.0-...-e29be4f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License: GPL-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidIPAddr = errors.New("invalid ip address")

Functions

func BindToDeviceForConn

func BindToDeviceForConn(ifaceName string, dialer *net.Dialer) error

func BindToDeviceForPacket

func BindToDeviceForPacket(ifaceName string, lc *net.ListenConfig) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL