Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old November 16th, 2004
GSt GSt is offline
Novicius
 
Join Date: November 16th, 2004
Posts: 2
GSt is flying high
Unhappy Handshake not working

hi

i'm writing a small gnutella client, but up till now can't even establish a connection, because the other peer always responds with
Code:
GNUTELLA/0.6 500 Invalid Handshake
i'm developing my client using java, what i'm sending to the other peer as handshake is

Code:
GNUTELLA CONNECT/0.6\r\n
User-Agent: test/0.1\r\n
\r\n
the java code i'm using to send it is

Code:
String msg = "";
msg += "GNUTELLA CONNECT/0.6\r\n";
msg += "User-Agent: test/0.1\r\n";
msg += "\r\n";
			
outputStream.write(msg.getBytes(), 0, msg.getBytes().length);
outputStream.flush();
i already studied the 0.6 protocol spec, read tbrough various forums and had a look at the open source client phex, but i can't figure out what's wrong with my handshake, phex is doing exactly the same.

please help, thanks
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid Handshake HuddledFiber6 General Discussion 3 November 18th, 2005 03:56 AM
Disconnected after handshake edo General Gnutella Development Discussion 1 September 5th, 2003 08:39 PM
Handshake faisal General Gnutella Development Discussion 9 September 13th, 2002 07:03 PM
Suggestion to v0.6 Handshake Moak LimeWire Beta Archives 5 January 27th, 2002 04:26 AM
Why do we need handshake? Ivex General Gnutella Development Discussion 5 January 16th, 2002 07:53 AM


All times are GMT -7. The time now is 11:04 PM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.