inetsocket

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InetSock

type InetSock struct {
	*net.UDPConn
}

func (*InetSock) Dialer

func (is *InetSock) Dialer() func(*net.UDPAddr, *net.UDPAddr) (connections.UDPConn, error)

func (*InetSock) Listener

func (is *InetSock) Listener() func(*net.UDPAddr) (connections.UDPConn, error)

func (*InetSock) LocalAddr

func (is *InetSock) LocalAddr() *net.UDPAddr

func (*InetSock) ReadFrom

func (is *InetSock) ReadFrom(b []byte) (int, *net.UDPAddr, error)

func (*InetSock) RemoteAddr

func (is *InetSock) RemoteAddr() *net.UDPAddr

Jump to

Keyboard shortcuts

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