std::net::UdpSocket specify kernel side recv buffer size

is there a way to specify the kernel side recv buffer size ?

Based on c++ - How to increase UDP socket recv buffer size to its maximum for Linux program? - Stack Overflow it seems possible in C land.

I think this is the sort of thing that is outsourced to the socket2 crate, although there's been discussion recently about further socket configuration in std.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.