View previous topic :: View next topic |
Author |
Message |
ScottAndrew
Joined: 06 Dec 2007 Posts: 3
|
Posted: Thu Dec 06, 2007 10:14 pm Post subject: How often to poll for router? |
|
|
Is there a good standard on how often to poll for devices to check if a device has come or gone? My thinking is that i would be running the discovery process every 30 seconds or so.
I would like to poll every 30 seconds or so to see if a device is ready and if it can support port forwarding. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Thu Dec 06, 2007 10:33 pm Post subject: Re: How often to poll for router? |
|
|
ScottAndrew wrote: | Is there a good standard on how often to poll for devices to check if a device has come or gone? My thinking is that i would be running the discovery process every 30 seconds or so.
I would like to poll every 30 seconds or so to see if a device is ready and if it can support port forwarding. |
It would consume less network ressource to check SSDP announces broadcasted.
It is just the way miniSSDPd works. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
ScottAndrew
Joined: 06 Dec 2007 Posts: 3
|
Posted: Thu Dec 06, 2007 10:42 pm Post subject: |
|
|
I don't have the option of installing the deamon app. is the daemon just listening to notifications on at the UPNP address? |
|
Back to top |
|
|
ScottAndrew
Joined: 06 Dec 2007 Posts: 3
|
Posted: Thu Dec 06, 2007 10:49 pm Post subject: |
|
|
One more note. It also appears that the deamon is advertising your machine as a UPNP device.
I only want to poll for UPNP network adapters so i can forward the port on them to my software's local machine. I also want to set flags if the device goes away. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Fri Dec 07, 2007 9:31 am Post subject: |
|
|
miniSSDPd is not advertising anything on the network, just listening to SSDP notifications broadcasted.
If you don't have root privilege on the machine, you can still run it as a normal user. Maybe it then needs to have the unixsocket path changed. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Wed Jan 09, 2008 11:15 am Post subject: |
|
|
newer versions of miniupnpc and minissdpd support having a non standard unix socket path _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|