cobalt-rs
cobalt-rs copied to clipboard
Retrieve underlying net::UdpSocket from UdpSocket
With this PR, it is now possible to retrieve a UdpSocket
's underlying net::UdpSocket
.
I need this because the default socket buffer size is too small for my UDP usage. The size can be easily changed using the crate net2
, but therefore it needs access to the net::UdpSocket
.
Thanks in advance!