1 post with tag rust
Tokio: receive variable-sized data from a UdpSocket
Imagine you're listening on a tokio::net::UdpSocket and you know you're going to receive a packet, but don't know the size. The first option was to find out what the other party might send, but that i…
·
1 minute reading time