UdpEndpoint constructor
UdpEndpoint({})
Implementation
UdpEndpoint({
required String host,
required int port,
this.ttl = 1,
required this.interface,
this.connect = false,
this.secure = false,
required List<InternetAddress> addressList,
Endpoint? underlying,
bool compress = false,
}) : super(
protocol: 'udp',
host: host,
port: port,
sourceAddress: '',
addressList: addressList,
underlying: underlying,
timeout: 0,
compress: compress,
);