ports

package
v0.0.0-...-70695b7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener struct {
	Port uint16
	// contains filtered or unexported fields
}

Listener represents a connection to the application listening on a given port

func NewListener

func NewListener(port uint16, c net.Conn) *Listener

NewListener is the Listener constructor

func (*Listener) Close

func (l *Listener) Close() error

Close closes the listener's notifier connection

func (*Listener) Notify

func (l *Listener) Notify(connectingRemoteAddress *rdtp.Addr) error

Notify sends an rdtp service message to a listener about an inbound connection from a remote address

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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