tcpserver

package
v0.0.0-...-b7062c8 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2017 License: LGPL-3.0-or-later Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TCPServer

type TCPServer struct {
	*utils.DCDB
	Conn net.Conn
}

TCPServer is a structure for TCP connecvtion

func (*TCPServer) HandleTCPRequest

func (t *TCPServer) HandleTCPRequest()

HandleTCPRequest proceed TCP requests

func (*TCPServer) Type1

func (t *TCPServer) Type1()

func (*TCPServer) Type10

func (t *TCPServer) Type10()

Type10 writes the number of the maximum block

func (*TCPServer) Type2

func (t *TCPServer) Type2()

func (*TCPServer) Type4

func (t *TCPServer) Type4()

Type4 writes the hash of the specified block

func (*TCPServer) Type7

func (t *TCPServer) Type7()

Type7 writes the body of the specified block

Jump to

Keyboard shortcuts

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