internal UpnpSearcher(IIPAddressesProvider ipprovider) { _ipprovider = ipprovider; UdpClients = CreateUdpClients(); _devices = new Dictionary <Uri, NatDevice>(); _lastFetched = new Dictionary <IPAddress, DateTime>(); }
internal UpnpSearcher(IIPAddressesProvider ipprovider) { _ipprovider = ipprovider; Sockets = CreateSockets(); _devices = new Dictionary<Uri, NatDevice>(); _lastFetched = new Dictionary<IPAddress, DateTime>(); }
internal PmpSearcher(IIPAddressesProvider ipprovider) { _ipprovider = ipprovider; _timeout = 250; CreateSocketsAndAddGateways(); }