C# Class FastNetwork.Protocol.DefaultBinaryProtocol

异步二进制协议 协议格式 [Message Length(int32)][SeqID(int32)][Body Buffer]
Inheritance: IProtocol
Afficher le fichier Open project: zhujunxxxxx/FastNetwork Class Usage Examples

Méthodes publiques

Méthode Description
TryToTranslateMessage ( IConnection connection, ArraySegment buffer, int maxMessageSize, int &readlength ) : ReceivePacket

find command

Method Details

TryToTranslateMessage() public méthode

find command
bad async binary protocl
public TryToTranslateMessage ( IConnection connection, ArraySegment buffer, int maxMessageSize, int &readlength ) : ReceivePacket
connection IConnection
buffer ArraySegment
maxMessageSize int
readlength int
Résultat ReceivePacket