Remix.run Logo
Sharlin 3 hours ago

It's not, it's the `socket2` library. The standard sockets don't allow (ab)using actual `UdpSocket`s as a different kind of datagram socket.

IshKebab an hour ago | parent [-]

We're talking about UdpSocket: https://doc.rust-lang.org/stable/std/net/struct.UdpSocket.ht...

Sharlin 43 minutes ago | parent [-]

Yes, I know, but the point is that the standard UdpSocket is correctly named as it doesn’t represent any other datagram socket. Uh, we’re pribably in agreement here actually.

IshKebab 18 minutes ago | parent [-]

Yeah exactly! :-D