public unsafe _RM_SEND_WINDOW GetSendWindow() { int size = sizeof(_RM_SEND_WINDOW); byte[] data = this.GetSocketOption(PgmSocket.PGM_LEVEL, (SocketOptionName)1001, size); fixed (byte* pBytes = &data[0]) { return *((_RM_SEND_WINDOW*)pBytes); } }