Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Gnutella Development Discussion (https://www.gnutellaforums.com/general-gnutella-development-discussion/)
-   -   Handshake (https://www.gnutellaforums.com/general-gnutella-development-discussion/15247-handshake.html)

faisal September 4th, 2002 09:12 AM

Handshake
 
I used Bearshare 4.0.2 to test my own simple servent handshaking, but I didn't get reply from Bearshare. I sent Gnutella handshake request v0.4, I stored "GNUTELLA CONNECT/0.4\n\n" in a String variable and sent it through socket with IP address=167.205.22.123(I've an Ethernet card and set the IP address to 167.205.22.123), port number=6346 (I've set Bearshare listening port number).In Bearshare console I found: Host in 167.205.22.123 ("Gnutella 0.4") dropped: Gnutella 0.4 handshake
What's the problem?

Thank you

Paradog September 4th, 2002 10:17 AM

Usually the handshake is now using the 0.6 handshaking protocol.
http://groups.yahoo.com/group/the_gd...ing%20Protocol

tshdos September 4th, 2002 03:43 PM

Bearshare blocks old clients (0.4). You should use the 0.6 handshake paradog mentioned.

If you must use the 0.4 handshake then you need to get a different client to test it with.

faisal September 5th, 2002 05:30 AM

Backward compatibility support
 
So Bearshare and another Gnutella servent (such as Phex) that use Gnutella 0.6 not supporting Gnutella 0.4 anymore??

Paradog September 5th, 2002 06:51 AM

Some clients still support 0.4 actually they MUST support prior versions.

But why dont you just use 0.6?

Tamama September 5th, 2002 07:09 AM

\n should be \r\n

tshdos September 5th, 2002 07:28 AM

Quote:

Originally posted by Paradog
Some clients still support 0.4 actually they MUST support prior versions.

MUST = SHOULD

No client MUST support anything.

Quote:

Tamama
\n should be \r\n
Not that it matters but I thought in the 0.4 protocol the handshake ended with \n\n ?
Did anyone actually check the line ending anyway or just the GNUTELLA CONNECT/0.4

Paradog September 5th, 2002 07:37 AM

Quote:

Originally posted by tshdos

MUST = SHOULD

No client MUST support anything.


Not that it matters but I thought in the 0.4 protocol the handshake ended with \n\n ?
Did anyone actually check the line ending anyway or just the GNUTELLA CONNECT/0.4

Yeah you are right. Suicide doesnt support 0.4 either but dont tell anyone :D

Hows Suicide .NET going BTW?

GregorK September 5th, 2002 04:13 PM

Phex still supports 0.4 and has not planed to remove the support.
Though you will find out that you wont have a very good experience using 0.4 connections in the current Gnutella network.

prh99 September 13th, 2002 07:03 PM

Gnucleus will still except clients that use the 0.4 handshake although I recommend you use the 0.6 handshake cause not all clients are as backward compatable.


All times are GMT -7. The time now is 11:35 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.