Пример #1
0
        internal void ReceiveSynAck(SynAck       synack)
        {
            this.socket.Send(this.endpoint, new Ack(synack.AcknowledgementNumber, synack.SequenceNumber + 1).Serialize());

            this.Setup (synack.AcknowledgementNumber, synack.SequenceNumber + 1);
        }
Пример #2
0
        internal void ReceiveSyn(Syn          syn)
        {
            var synack = new SynAck(Random.Get(), syn.SequenceNumber + 1);

            this.socket.Send(this.endpoint, synack.Serialize());
        }