Gnutella Forums

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

h230184 January 20th, 2005 02:03 AM

gnutella client
 
Hi all.
I'm trying to write a gnutella client in java and I'm kinda newbie. My problem is that handshake connections are not working. Each time I send GNUTELLA CONNECT/0.6\n\n I receive an answer like
GNUTELLA/0.6 503 Service unavailable
X-Try-Ultrapeers: 207.254.245.54:6346,12.202.167.207:6346,...
I've also tried some versions from gnutella v0.6 spec:

"GNUTELLA CONNECT/0.6\n" +
"User-Agent: LimeWire\n" +
"Query-Routing: 0.1\n\n"

"GNUTELLA CONNECT/0.6\n" +
"User-Agent: BearShare\n" +
"Query-Routing: 0.2\n\n"

but each time i get the same error. Can u please help me. Thanks.

arne_bab January 23rd, 2005 11:30 AM

Try to end lines with "\r\n" (you got that advice In the GDF just now, didn't yoU?

h230184 January 23rd, 2005 12:04 PM

thanks
 
Yeah but it still doesn't work. I'm studying now the LimeWire code for handshaking. Thanks for posts.

arne_bab January 23rd, 2005 02:38 PM

Did you check earlier posts in here?


All times are GMT -7. The time now is 01:27 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.