mcast

package
v0.0.0-...-0d6fb39 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(address string, handler func(*net.UDPAddr, int, []byte))

Listen binds to the UDP address and port given and writes packets received from that address to a buffer which is passed to a hander

func NewBroadcaster

func NewBroadcaster(address string) (*net.UDPConn, error)

NewBroadcaster creates a new UDP multicast connection on which to broadcast

Types

This section is empty.

Jump to

Keyboard shortcuts

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