UdpSocket constructor

UdpSocket({
  1. required int? port,
  2. bool quiet = false,
  3. SocketInfo? destination,
})

Opens a UDP socket on the given port that can send and receive data.

Implementation

UdpSocket({required int? port, this.quiet = false, this.destination}) :
  _port = port;