conn

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	quic.Connection
	quic.Stream
}

Conn implements net.Conn interface, wrapping the underlying quic.Connection and quic.Stream

type PacketConn

type PacketConn struct {
	*ice.Conn
}

PacketConn implements net.PacketConn interface, wrapping the underlying *ice.Conn

func (PacketConn) ReadFrom

func (c PacketConn) ReadFrom(p []byte) (n int, addr net.Addr, err error)

func (PacketConn) WriteTo

func (c PacketConn) WriteTo(p []byte, addr net.Addr) (n int, err error)

Jump to

Keyboard shortcuts

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