tcp

package
v0.0.0-...-d1f8a93 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TcpDialer

type TcpDialer struct {
	tcommon.TunnelDialer
	// contains filtered or unexported fields
}

func GetTcpDialer

func GetTcpDialer() TcpDialer

func (TcpDialer) Dial

func (d TcpDialer) Dial(network, addr string) (c net.Conn, err error)

func (TcpDialer) Protocol

func (d TcpDialer) Protocol() tcommon.TunnelProtocol

type TcpServer

type TcpServer struct {
	tcommon.TunnelServer
}

func StartTcpServer

func StartTcpServer(address string) (TcpServer, error)

Jump to

Keyboard shortcuts

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