public P2PPortClientConnectionHandler(SocketAsyncEventArgs e, Int32 rOffset, Int32 sOffset, Int32 receivePrefixLength, Int32 sendPrefixLength) { this._handlerID = UtilitiesModule.GetIndexableGUID(); this.BufferOffsetReceive = rOffset; this.BufferOffsetSend = sOffset; this.receivePrefixLength = receivePrefixLength; this.sendPrefixLength = sendPrefixLength; this.receiveMessageOffset = rOffset + receivePrefixLength; this.PermanentReceiveMessageOffset = this.receiveMessageOffset; this._dataMode = P2PDataSendMode.notDefined; }
internal void CreateClientSession() { this._ClientID = UtilitiesModule.GetIndexableGUID(); }