2 ms·
> connected UDP sockets per connection I think I'm stumbling over terminology here, but UDP is connectionless, right? I think the QUIC protocol re-implements c
by password4321 4y ago
> connected UDP sockets per connection
I think I'm stumbling over terminology here, but UDP is connectionless, right? I think the QUIC protocol re-implements connections on top of it, but I've never heard of "connected UDP".
A socket pool does seem to make sense from a performance standpoint!
- Matthias247 4y agoUDP is connectionless. Connected UDP sockets are a OS construct, and don't influence anything that happens on the wire. If you "connect" a UDP socket, you don't have to use sendto and recvfrom anymore, and all packets received and sent (via send/recv APIs) are targetting the same peer. It's kind of just sets up some routes in the kernel, but doesn't make anything stateful or reliable at the networking layer.