override protected void methodEnd() { byte[] len = System.BitConverter.GetBytes(MsgLength_); //lock (Socket_.OutgoingBuffer) //{ System.Array.Copy(len, 0, Socket_.OutgoingBuffer.Memory, MsgLengthPtr_, len.Length); //} Socket_.Flush(); }
override protected void methodEnd() { byte[] len = System.BitConverter.GetBytes(MsgLength_); //lock (Socket_.OutgoingBuffer) //{ System.Array.Copy(len, 0, Socket_.OutgoingBuffer.Memory, MsgLengthPtr_, len.Length); //} Socket_.Flush(); }