예제 #1
0
파일: Packet.cs 프로젝트: dzamkov/DUIP
 public _SendStream(int ChunkSize, OutTerminal Terminal)
 {
     this._ChunkSize = ChunkSize;
     this._Terminal = Terminal;
     this._Current = new _Chunk
     {
         Data = new byte[ChunkSize],
         Initial = true
     };
 }
예제 #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);
 }