wsd

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	net.PacketConn
	// contains filtered or unexported fields
}

func ListenForWSD

func ListenForWSD(addr netip.Addr, onFoundAddr func(netip.Addr)) (*Conn, error)

func (*Conn) DiscoverMulticast

func (conn *Conn) DiscoverMulticast() error

func (*Conn) GetListenAddrPort

func (conn *Conn) GetListenAddrPort() *netip.AddrPort

func (*Conn) SendProbe

func (conn *Conn) SendProbe(target *netip.Addr) error

Jump to

Keyboard shortcuts

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