aMSN Forums
May 20, 2013, 03:01:44 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Direct Connection?  (Read 6223 times)
darkstrike
Newbie

Offline Offline

Posts: 30


All in due time...


View Profile
« on: June 17, 2010, 04:42:12 pm »

Hey all!

Long time, no-post, but I've been lurking Smiley

I just had a curious question for the development of aMSN, sorry if it's been asked before! I'm a fan of aftermarket MSN clients, and I noticed the other day when exploring Pidgin's Release Notes that they had managed to implement direct connections with MSN so file transfers wouldn't be atrociously slow. I was curious if there was any way aMSN could implement something like that? They had based the feature on the code of fellow named Gábor Szuromi, and if he had allowed it, would it be difficult or possible for aMSN to implement code such as his to increase the speed of file transfers?

No rush, and I'm not trying to be one of those n00by people who says "WE ARE NEED THIS FEATURE, LOLZ DOIT NOW!!!" Tongue Just was curious if such a thing were possible! Hell, I'd work on it myself, but I have no coding experience whatsoever, sadly.

Cheers!
 - Darkstrike
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #1 on: June 20, 2010, 01:47:26 am »

humm... euhh... well... hi...
for your info, aMSN has had full file transfer speed using direct connections since 1995, so.. that makes it since 5 years ago.. we were the very first to have it, and apparently until recently, almost the only ones who had it.. so yeah, no need to add that feature since we've got it already!
On a side note, we have a good summer of code student working on refactoring the msnp2p stack to make it easier to use and maintain, this should be helpful to implement msnp2pv2 support which would allow us to enable MSNP18 protocol support... If there's something wrong/missing with the p2p stack, we'll find it, but as far as I know, it works quite well already.
Logged

KaKaRoTo
Fabioamd87
Super Power User
**
Offline Offline

Posts: 467



View Profile
« Reply #2 on: June 20, 2010, 03:58:26 pm »

aMSN has had full file transfer speed using direct connections since 1995, so.. that makes it since 5 years ago..

did you mean 2005?
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #3 on: June 24, 2010, 08:47:17 pm »

yes, 2005, hehe
Logged

KaKaRoTo
darkstrike
Newbie

Offline Offline

Posts: 30


All in due time...


View Profile
« Reply #4 on: August 02, 2010, 05:49:31 pm »

humm... euhh... well... hi...
for your info, aMSN has had full file transfer speed using direct connections since 1995, so.. that makes it since 5 years ago.. we were the very first to have it, and apparently until recently, almost the only ones who had it.. so yeah, no need to add that feature since we've got it already!
On a side note, we have a good summer of code student working on refactoring the msnp2p stack to make it easier to use and maintain, this should be helpful to implement msnp2pv2 support which would allow us to enable MSNP18 protocol support... If there's something wrong/missing with the p2p stack, we'll find it, but as far as I know, it works quite well already.

Whoops! I hadn't noticed this reply...sorry for the late response Kakaroto Smiley! I didn't know aMSN supported direct connections, that's great! I've just noticed from time to time that my file transfers seem very slow, and I know it's not my friends or I's internet connections, because when using WLM or the newest version of Pidgin, they go WAY faster...not sure if it's a setting, then, that I have selected in aMSN or not. I'll have to take a look.

MSNP18 would be great, new features and all! On a side note, is there any more work being done on getting Farsight to meet the current protocol requirements to get voice audio working again?
Logged
alexandernst
Developers
Super Power User
*
Offline Offline

Posts: 870



View Profile
« Reply #5 on: August 02, 2010, 07:02:09 pm »

Farsight is not the problem, but msnp2p. vivia is currently working on it, so be patient.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #6 on: August 08, 2010, 08:58:52 pm »

Humm, well, I'm not sure why it wouldn't work, as far as I know, direct transfers work and have always been working.. although some people did complain about DC not working for them even if they had their ports properly forwarded in their routers... anyways, we've rewritten (Vivia did) the whole MSNP2P stack to make it much better, and vivia has rewritten the direct connection code, so if you want to test that, and if you notice a bug, feel free to report it, now's the time to fix all the new bugs introduced by this rewrite.
It is currently on a separate branch of SVN, but it will soon be merged into the SVN trunk.
Logged

KaKaRoTo
ElCynico
Newbie

Offline Offline

Posts: 40


View Profile
« Reply #7 on: August 09, 2010, 07:57:28 pm »

Does the new MSNP2P bring any new features apart from (functional) MSNP18? I'd enjoy a multiple-points-of-presence while using Bitlbee through UNIX Shell & Irssi and aMSN.
Logged
alexandernst
Developers
Super Power User
*
Offline Offline

Posts: 870



View Profile
« Reply #8 on: August 09, 2010, 10:41:29 pm »

well...msnp18 is exactly that! multiple-point-of-presence, and some more features.
Logged
darkstrike
Newbie

Offline Offline

Posts: 30


All in due time...


View Profile
« Reply #9 on: September 06, 2010, 08:57:36 pm »

Humm, well, I'm not sure why it wouldn't work, as far as I know, direct transfers work and have always been working.. although some people did complain about DC not working for them even if they had their ports properly forwarded in their routers... anyways, we've rewritten (Vivia did) the whole MSNP2P stack to make it much better, and vivia has rewritten the direct connection code, so if you want to test that, and if you notice a bug, feel free to report it, now's the time to fix all the new bugs introduced by this rewrite.
It is currently on a separate branch of SVN, but it will soon be merged into the SVN trunk.

I'm bringing back an older topic, I know, but I was curious if this has been merged into the SVN trunk as of yet? Smiley
Logged
BW
Super Power User
**
Offline Offline

Posts: 223


View Profile
« Reply #10 on: September 07, 2010, 10:04:27 pm »

Hi darkstrike,

'til now it's still only in the separate branch and not merged
Logged
vivia
Administrator
Super Power User
*****
Offline Offline

Posts: 2464


View Profile
« Reply #11 on: September 19, 2010, 10:11:25 pm »

Hi,

The refactoring is done on a separate branch. You can safely use it, but it currently contains some memory leaks so it needs a cleanup. No other issues apart from that. It's on https://amsn.svn.sf.net/svnroot/amsn/branches/p2p . I just haven't found the time to do that cleanup yet, being very busy with university.

However, I noticed that the latest versions of Windows Live Messenger have one slight change in the way they negotiate about the direct connection. If you send a file and your ports are well-configured, it will go fast. If you receive a file, it will go slow even if your ports are well-configured. I will investigate that later.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!