private-octopus / picoquic

Minimal implementation of the QUIC protocol
MIT License
527 stars 156 forks source link

Can a single QUIC context manage multiple connections with different IP and Port? #1519

Closed Abilyf closed 1 year ago

Abilyf commented 1 year ago

When node A needs to connect to multiple nodes with different IP and port, node A needs to create multiple picoquic_cnx_t. Can a single QUIC context picoquic_quic_t manage all these connections in this case?

huitema commented 1 year ago

Yes. Be sure to initialize the context with the expected maximum number of connections.

Abilyf commented 1 year ago

ok, tks!