RawDatagramSocketFactory typedef
RawDatagramSocketFactory =
Future<RawDatagramSocket> Function(dynamic host, int port, {bool reuseAddress, bool reusePort, int ttl})
A factory for construction of datagram sockets.
This can be injected into the MDnsClient to provide alternative implementations of RawDatagramSocket.bind.
Implementation
typedef RawDatagramSocketFactory = Future<RawDatagramSocket> Function(
dynamic host, int port,
{bool reuseAddress, bool reusePort, int ttl});