mgrp

package
v0.0.0-...-a68bb9d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mgrp implements interface-honed multicast UDP.

The Linux multicast API lets you join a multicast group on a specific interface, but doesn't disambiguate received traffic based on the receiving interface, leading to unexpected consequences in applications that care about the source of the traffic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ip net.IP, port int, iface net.Interface) (*conn, error)

Joins the multicast group specified by ip on iface and listens on the specified port for UDP traffic. Incoming traffic is filtered to packets sent specifically to this multicast group and received on iface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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