How Deluge open ports behind a NAT?

Suggestions and discussion of future versions
Post Reply
AnarCoSol

How Deluge open ports behind a NAT?

Post by AnarCoSol »

Hi
I need to figure out where to find in deluge's source code the piece where it opens the door behind a NAT, I know who uses libtorrent to do it, but i don't know how.

I need it for a project of mine, since I cannot find well documented and functional libraries (upnpc, etc ) in python

thanks in advance,

AnarCoSol
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: How Deluge open ports behind a NAT?

Post by Cas »

It is done via libtorrent: https://github.com/arvidn/libtorrent
Post Reply