Property | Type | Description | |
---|---|---|---|
AutoSendPingSetting | int | ||
ConnectTimeoutSetting | int | ||
OnConnect | ConnectCallback | ||
OnDisconnect | DisconnectCallback | ||
OnRecvive | RecviveCallback | ||
ReceiveTimeoutSetting | int |
Method | Description | |
---|---|---|
Close ( ) : void | ||
Connect ( string ip, int port ) : void | ||
MemmoveRecvBuffer ( ) : void | ||
PackageSocket ( ) : System | ||
ProcessConnect ( ) : void | ||
ProcessPackage ( ) : void | ||
ProcessReceive ( ) : void | ||
ProcessSend ( ) : void | ||
Reset ( ) : void | ||
Send ( Byte buffer, int start, int length ) : void | ||
SendPing ( ) : void | ||
SetError ( SocketError, socketError, PackageSocketError packageSocketError ) : void | ||
ToString ( ) : string | ||
Update ( ) : void |
Method | Description | |
---|---|---|
DecodeHeader ( byte buffer, int start, int length, int &dataLength ) : int | ||
EncodeHeader ( int length, byte buffer, int start ) : void | ||
GetHeaderLength ( ) : int |
public Connect ( string ip, int port ) : void | ||
ip | string | |
port | int | |
return | void |
protected DecodeHeader ( byte buffer, int start, int length, int &dataLength ) : int | ||
buffer | byte | |
start | int | |
length | int | |
dataLength | int | |
return | int |
protected EncodeHeader ( int length, byte buffer, int start ) : void | ||
length | int | |
buffer | byte | |
start | int | |
return | void |
public Send ( Byte buffer, int start, int length ) : void | ||
buffer | Byte | |
start | int | |
length | int | |
return | void |
public SetError ( SocketError, socketError, PackageSocketError packageSocketError ) : void | ||
socketError | SocketError, | |
packageSocketError | PackageSocketError | |
return | void |