Example #1
0
 public _SendStream(int ChunkSize, OutTerminal Terminal)
 {
     this._ChunkSize = ChunkSize;
     this._Terminal = Terminal;
     this._Current = new _Chunk
     {
         Data = new byte[ChunkSize],
         Initial = true
     };
 }
Example #2
0
 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);
 }