buffer_tcp

package
v0.0.0-...-8546448 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferTcpConn

type BufferTcpConn struct {
	// contains filtered or unexported fields
}

func (*BufferTcpConn) TCPConnect

func (c *BufferTcpConn) TCPConnect(serverAddr string, serverPort uint16, timeOut float64) error

func (*BufferTcpConn) TCPDisConnect

func (c *BufferTcpConn) TCPDisConnect() error

func (*BufferTcpConn) TCPFlush

func (c *BufferTcpConn) TCPFlush() error

func (*BufferTcpConn) TCPRead

func (c *BufferTcpConn) TCPRead(nRead uint32) ([]byte, uint32, bool, error)

func (*BufferTcpConn) TCPWrite

func (c *BufferTcpConn) TCPWrite(bytesWrite []byte) error

type TcpListener

type TcpListener struct {
	// contains filtered or unexported fields
}

func (*TcpListener) TCPAccept

func (c *TcpListener) TCPAccept() (*BufferTcpConn, error)

func (*TcpListener) TCPListen

func (c *TcpListener) TCPListen(tcpAddr *net.TCPAddr) error

func (*TcpListener) TCPListenClose

func (c *TcpListener) TCPListenClose()

Jump to

Keyboard shortcuts

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