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[]>(); }
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[]>(); }