UdpSocket constructor
- required int? port,
- bool quiet = false,
- SocketInfo? destination,
- bool keepDestination = false,
Opens a UDP socket on the given port that can send and receive data.
Implementation
UdpSocket({
required int? port,
this.quiet = false,
this.destination,
this.keepDestination = false,
}) : _port = port;