here is a patch that adds an UPnPManager, which creates a thread to do UPnP 
mappings. it silently fallbacks to other implementations if it has multiple 
impls.
i have kept UPnP_MiniUPnPc in win32/ for now - LinuxDC++ people can then adjust 
it to their needs and move it to dcpp/.

by default, windows builds will now be able to use both UPnP_MiniUPnPc
and UPnP_COM, with a preference over UPnP_MiniUPnPc (so if it works,
UPnP_COM will never be called).

regarding switching to passive for the very few seconds during which UPnP 
initialization lasts, i feel this would introduce more problems and i'd prefer 
to keep it the way it is: consider that the user is in active mode if she has 
selected UPnP in settings.
besides, when UPnP fails, there's an error message inviting the user to rectify 
her settings; this is better than silently selecting passive mode on her behalf.

** Attachment added: "Patch"
   http://launchpadlibrarian.net/36503807/patch.patch

-- 
UPnP does not work
https://bugs.launchpad.net/bugs/230973
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.

Status in ApexDC++ - The Pinnacle of File-Sharing: New
Status in DC++: In Progress
Status in Linux DC++: New

Bug description:
Version 0.706.

I have UPnP configured correctly in my OS (Windows XP) and my router (Linksys 
WRT54GL). eMule, Miranda, Skype, uTorrent all work fine and correctly setup 
ports. However, dc++ does not. It used to work few times, but now it just 
complains that failed to setup ports. I've run upnp sniffer, and it seems that 
it doesn't even send out UPnP packets.

If you need additional information, please tell what kind and how to get it :)



_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to