private SendPacket() { this.mBuffer = new SendBuffer(SendBuffer.SEND_BUFFER_SIZE); this.mEncrypt = new ITZEncrypt(); }
public void Send(Socket socket, ITZEncrypt Encrypt) { Encrypt.Encode(this.mBufferPool); socket.Send(this.mBufferPool, 0, this.mLen, SocketFlags.None); }