示例#1
0
文件: Packet.cs 项目: dzamkov/DUIP
 public _ReceiveStream(int SequenceNumber, bool Remove, InTerminal Terminal)
 {
     this._Remove = Remove;
     this._Chunks = Terminal._Chunks;
     this._SequenceNumber = SequenceNumber;
     this._Current = this._Chunks[SequenceNumber];
 }
示例#2
0
文件: UDPPeer.cs 项目: dzamkov/DUIP
 internal UDPPeer(UDPHubSettings Settings, IPEndPoint EndPoint, int SequenceNumber, int AcknowledgementNumber)
 {
     this._Settings = Settings;
     this._EndPoint = EndPoint;
     this._InTerminal = new InTerminal(AcknowledgementNumber);
     this._OutTerminal = new OutTerminal(SequenceNumber);
 }