Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MulticastServer ¶
type MulticastServer struct {
Consumer func([]byte, *net.UDPAddr)
SkipInterfaces []string
Verbose bool
// contains filtered or unexported fields
}
func NewMulticastServer ¶
func NewMulticastServer(multicastAddress string) (r *MulticastServer)
func (*MulticastServer) Start ¶
func (r *MulticastServer) Start()
func (*MulticastServer) Stop ¶
func (r *MulticastServer) Stop()
type UdpClient ¶
type UdpClient struct {
Name string
Consumer func([]byte)
// contains filtered or unexported fields
}
UdpClient establishes a UDP connection to a server
func NewUdpClient ¶
NewUdpClient creates a new UDP client
Click to show internal directories.
Click to hide internal directories.