bind

package
v0.0.0-...-1e8181f Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 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