void init()
 {
     btTmpRecv             = new byte[RECVDEFAULTSIZE];
     AsyncCallback_Receive = new AsyncCallback(this.ReceiveCallback);
     AsyncCallback_Send    = new AsyncCallback(this.SendCallback);
     delegate_Receive      = ReadLoginPacketProc;
     btRecvQueue           = new Queue <byte[]>();
     btSendQueue           = new Queue <byte[]>();
 }
Esempio n. 2
0
 void init()
 {
     btTmpRecv = new byte[RECVDEFAULTSIZE];
     AsyncCallback_Receive = new AsyncCallback(this.ReceiveCallback);
     AsyncCallback_Send = new AsyncCallback(this.SendCallback);
     delegate_Receive = ReadLoginPacketProc;
     btRecvQueue = new Queue<byte[]>();
     btSendQueue = new Queue<byte[]>();
 }