예제 #1
0
 public void DoGlobalSetupQuicStream()
 {
     DoGlobalSetupShared();
     QuicListener = QuicFactory.CreateListener();
     QuicListener.Start();
     _serverTask = Task.Run(QuicStreamServer);
     GlobalSetupQuicStream();
 }
 protected sealed override void IterationSetupQuicStream()
 {
     QuicClient = QuicFactory.CreateClient(QuicListener.ListenEndPoint);
     QuicClient.ConnectAsync().AsTask().GetAwaiter().GetResult();
 }
예제 #3
0
 protected override void IterationSetupQuicStream()
 {
     QuicClient = QuicFactory.CreateClient(new IPEndPoint(IPAddress.Loopback, QuicListener.ListenEndPoint.Port));
     QuicClient.ConnectAsync().AsTask().GetAwaiter().GetResult();
 }
 protected sealed override void IterationSetupQuicStream()
 {
     QuicClient = QuicFactory.CreateClient(QuicListener.ListenEndPoint);
 }