udp

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MTU = 1472 // 最大传输单元

)

Variables

This section is empty.

Functions

This section is empty.

Types

type UDPMessageTransmitter

type UDPMessageTransmitter struct {
}

func (UDPMessageTransmitter) OnRecvMessage

func (UDPMessageTransmitter) OnRecvMessage(ses cellnet.Session) (msg interface{}, err error)

func (UDPMessageTransmitter) OnSendMessage

func (UDPMessageTransmitter) OnSendMessage(ses cellnet.Session, msg interface{}) error

Jump to

Keyboard shortcuts

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