Documentation
¶
Index ¶
Constants ¶
View Source
const ( BUFFER_SIZE int = 1024 OP_EDONKEYHEADER byte = 0xE3 OP_LOGINREQUEST byte = 0x01 OP_SERVERMESSAGE byte = 0x38 TAG_STRING byte = 0x02 TAG_INTEGER byte = 0x03 SPECIAL_TAG_NAME byte = 0x01 SPECIAL_TAG_VERSION byte = 0x11 SPECIAL_TAG_PORT byte = 0x0F MET_HEADER byte = 0x0E )
TODO: amule-2.3.1/src/include/protocol/ed2k/Client2Server/TCP.h
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client2Server ¶
type Client2Server struct { Protocol string Host string Port int ClientPort int32 NickName string Debug bool // contains filtered or unexported fields }
func NewClient2Server ¶
func (*Client2Server) Connect ¶
func (this *Client2Server) Connect() (ret bool)
func (*Client2Server) Disconnect ¶
func (this *Client2Server) Disconnect()
func (*Client2Server) Login ¶
func (this *Client2Server) Login()
func (*Client2Server) RecvRoutine ¶
func (this *Client2Server) RecvRoutine()
Click to show internal directories.
Click to hide internal directories.