controller

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Unlicense Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxDatagramSize is the largest a packet could be,
	// it is a little larger but this is easier to calculate.
	// There is only one listening thread but it needs a buffer this size for
	// worst case largest block possible.
	// Note also this is why FEC is used on the packets in case some get lost it
	// has to puncture 6 of the 9 to fail.
	// This protocol is connectionless and stateless so if one misses,
	// the next one probably won't, usually a second or 3 later
	MaxDatagramSize = blockchain.MaxBlockBaseSize / 3
	//UDP6MulticastAddress = "ff02::1"
	UDP4MulticastAddress = "224.0.0.1:11049"
)

Variables

This section is empty.

Functions

func Run

func Run(cx *conte.Xt) (cancel context.CancelFunc)

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis
old
broadcast
Package broadcast is a simple udp broadcast
Package broadcast is a simple udp broadcast
cmd

Jump to

Keyboard shortcuts

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