Documentation
¶
Index ¶
- type BufferTcpConn
- func (c *BufferTcpConn) TCPConnect(serverAddr string, serverPort uint16, timeOut float64) error
- func (c *BufferTcpConn) TCPDisConnect() error
- func (c *BufferTcpConn) TCPFlush() error
- func (c *BufferTcpConn) TCPRead(nRead uint32) ([]byte, uint32, bool, error)
- func (c *BufferTcpConn) TCPWrite(bytesWrite []byte) error
- type TcpListener
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) 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) TCPListenClose ¶
func (c *TcpListener) TCPListenClose()
Click to show internal directories.
Click to hide internal directories.