Implemented as a UdpSocket trait