Sign in to follow this  
Followers 0
bebo189

Does Apex support the STUN protocol?

5 posts in this topic

Hello,

I was talking to my brother and he tested the STUN protocol implemented in GAIM and I sent him a file even though he is behind a NAT. I was wondering if Apex supports this protocol or could potentially support it? If so, could it be worked into a future version? Here's a link to what STUN is.

http://en.wikipedia.org/wiki/STUN

http://sourceforge.net/projects/stun/

Thanks,

Jeremy

Share this post


Link to post
Share on other sites

I was talking to my brother and he tested the STUN protocol implemented in GAIM and I sent him a file even though he is behind a NAT. I was wondering if Apex supports this protocol or could potentially support it? If so, could it be worked into a future version? Here's a link to what STUN is.

Great Idea. however, knowing Net Protocols, such as UDP, I can see a WORLD of problems with it. UDP is a connectionless protocol, simply put, it does not verify packet data, nor does it have the info built in. Therefore theoritically its quicker, but if it fails, it doesnt know it. Thats why TCP is still used so often, especially with file transfers. The risk of corruption, would be far greater.. Good idea yes, using UDP, probably not.

Share this post


Link to post
Share on other sites

Yeah, Sidetrack, I agree with you... UDP tranfers will bring us plenty of problems :)

But, browsing STUN'S Wiki Page a little bit more, you can find at the bottom the following: STUNT - STUN and TCP too, which extends STUN to include TCP functionality

Maybe supporting it will permit NAT users to have better transfer speeds and connectivity... I don't know how difficult it would be to implemented, but, anyway, it's a good sugestion...

Please read:

STUNT'S Protocol page

STUNT'S Forums

Anyway, bebo189, it's a pretty cool suggestion :) :)

Let's wait for Crise and see what he has to tell us about this :)

Regards,

//Keine

Share this post


Link to post
Share on other sites

STUN is not really that usefull with dc++. it can not open ports on your firewall and would only be usefull for getting your external ip address. In fact the way that apex gets the external IP address could be said to be a sloppy implementation of tcp stun.

Share this post


Link to post
Share on other sites

I thought it would be useful because some users, even when you explain to them how to setup everything, including nat, firewalls and etc, they still mess the whole thing up...

So, considering that bebo189 said he could exchange files with a NAT'ed friend, this protocol could make an "automatic" setup for those users in order to allow them share files across the internet.

I'm not disconsidering Crise's solution to get external IP addresses, just trying to make things easier to newer ApexDC++ users.

Sorry if i misunderstood this... :)

//Keine

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0