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 TcpClient

type TcpClient struct {
	icommon.TunnelInterfaceClient
	// contains filtered or unexported fields
}

func GetTcpClient

func GetTcpClient(url, surl string, tun_dialer tcommon.TunnelDialer) *TcpClient

func (*TcpClient) HandleConnection

func (t *TcpClient) HandleConnection(conn net.Conn, tconn net.Conn) error

func (*TcpClient) WaitingForConnection

func (t *TcpClient) WaitingForConnection()

type TcpServer

type TcpServer struct {
	icommon.TunnelInterfaceServer
	// contains filtered or unexported fields
}

func GetTcpServer

func GetTcpServer(url string) TcpServer

func (TcpServer) HandleConnection

func (t TcpServer) HandleConnection(conn net.Conn) error

Jump to

Keyboard shortcuts

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