Exemple #1
0
 /// <summary>
 /// Creates a new connection binding to the specified local endpoint, and using the specified config
 /// and a new auto-generated connection ID.
 /// </summary>
 /// <param name="localEndPoint">The local endpoint to bind to.</param>
 /// <param name="config">The <see cref="QuicheConfig"/> to use.</param>
 public QuicConnection(IPEndPoint localEndPoint, QuicheConfig config)
     : this(localEndPoint, QuicConnectionId.NewId(), config)
 {
 }
Exemple #2
0
 /// <summary>
 /// Creates a new connectionusing the specified config
 /// and a new auto-generated connection ID.
 /// </summary>
 /// <param name="localEndPoint">The local endpoint to bind to.</param>
 /// <param name="config">The <see cref="QuicheConfig"/> to use.</param>
 public QuicConnection(QuicheConfig config)
     : this(QuicConnectionId.NewId(), config)
 {
 }