miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How often to poll for router?

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation
View previous topic :: View next topic  
Author Message
ScottAndrew



Joined: 06 Dec 2007
Posts: 3

PostPosted: Thu Dec 06, 2007 10:14 pm    Post subject: How often to poll for router? Reply with quote

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
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1477

PostPosted: Thu Dec 06, 2007 10:33 pm    Post subject: Re: How often to poll for router? Reply with quote

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.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
ScottAndrew



Joined: 06 Dec 2007
Posts: 3

PostPosted: Thu Dec 06, 2007 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
ScottAndrew



Joined: 06 Dec 2007
Posts: 3

PostPosted: Thu Dec 06, 2007 10:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1477

PostPosted: Fri Dec 07, 2007 9:31 am    Post subject: Reply with quote

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.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1477

PostPosted: Wed Jan 09, 2008 11:15 am    Post subject: Reply with quote

newer versions of miniupnpc and minissdpd support having a non standard unix socket path
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.