udp

package
v0.0.0-...-28d9e09 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EthercatUDPPort = 0x88a4
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UDPFramer

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

func NewUDPFramer

func NewUDPFramer(iface *net.Interface, group net.IP, cycletime time.Duration) (f *UDPFramer, err error)

func (*UDPFramer) Close

func (f *UDPFramer) Close() error

func (*UDPFramer) Cycle

func (f *UDPFramer) Cycle() (iframes []*ecfr.Frame, err error)

func (*UDPFramer) DebugMessage

func (f *UDPFramer) DebugMessage(m string)

func (*UDPFramer) New

func (f *UDPFramer) New(maxdatalen int) (fr *ecfr.Frame, err error)

Jump to

Keyboard shortcuts

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