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.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 13th, 2002
Novicius
 
Join Date: September 13th, 2002
Posts: 2
Progeny is flying high
Default Socket's problem!

Hello,
(I'm Italian, so sorry for the bad English!)

I'm writing a TCL code to use Gnutella protocol,

set fd [socket connect2.gnutellanet.com 6346]

Tcl error [searchfile]: couldn't open socket: connection refused

Why I had this error? Is the hostname (connect2.gnutellanet.com) bad? I had been tried many hostnames of http://www.gnutelladev.com/source/gn...erver-list.txt but nodoby works!!

---
Progeny
http://progeny.gov.it.eu.org
progeny@bitchx.it
Reply With Quote
  #2 (permalink)  
Old September 17th, 2002
Devotee
 
Join Date: January 18th, 2002
Posts: 22
James Connolly is flying high
Default

That host no longer is a Gnutella servent. Telnet to it on poer 6346. You will not be able to connect. If you can't connect with telnet, your program will not be able to connect.

You'll have to find Gnutella hosts by some other means. One is to go on IRC to the EFnet network, channel #gnutella/cache.1 . Hosts will broadcast their IP's and ports to the channel with CTCP. Another is to go to a GWebcache hosts and get plugged in that way.
Reply With Quote
  #3 (permalink)  
Old September 17th, 2002
Novicius
 
Join Date: September 13th, 2002
Posts: 2
Progeny is flying high
Default

Hello thanks for the reply!
I'v been found on that IRC Channel on EFNet this host:
198.247.163.147:6346
i.e. After I'm connected to the host, I send this data but the host don't reply me!

"GNUTELLA CONNECT/0.4\n\n"

I'm waiting for "GNUTELLA OK\n\n" but I don't receive any string!

May be the host bad? I don't know...
Reply With Quote
  #4 (permalink)  
Old September 17th, 2002
Connoisseur
 
Join Date: July 4th, 2002
Posts: 274
Krieger88 is flying high
Default

You should really try running a local gnutella client and connect to that local client. Some clients (gtk-gnutella for example) should tell you in debug mode when they receive bad handshakes.

In addition you could compare the tcp-dumps of a working client trying to connect with your own client trying to connect.
Reply With Quote
  #5 (permalink)  
Old September 17th, 2002
Paradog's Avatar
Distinguished Member
 
Join Date: April 5th, 2002
Location: Germoney
Posts: 739
Paradog is flying high
Default

Quote:
Originally posted by Progeny
Hello thanks for the reply!
I'v been found on that IRC Channel on EFNet this host:
198.247.163.147:6346
i.e. After I'm connected to the host, I send this data but the host don't reply me!

"GNUTELLA CONNECT/0.4\n\n"

I'm waiting for "GNUTELLA OK\n\n" but I don't receive any string!

May be the host bad? I don't know...
Maybe you should use Gnutella 0.6 handshaking too.
Reply With Quote
  #6 (permalink)  
Old September 17th, 2002
Connoisseur
 
Join Date: July 4th, 2002
Posts: 274
Krieger88 is flying high
Default

Quote:
Originally posted by Paradog


Maybe you should use Gnutella 0.6 handshaking too.
0.4 handshakes are a lot easier to implement.
Reply With Quote
  #7 (permalink)  
Old September 17th, 2002
Paradog's Avatar
Distinguished Member
 
Join Date: April 5th, 2002
Location: Germoney
Posts: 739
Paradog is flying high
Default

Quote:
Originally posted by Krieger88


0.4 handshakes are a lot easier to implement.
Yeah but some clients like Bearshare drop 0.4
Reply With Quote
  #8 (permalink)  
Old September 17th, 2002
Connoisseur
 
Join Date: July 4th, 2002
Posts: 274
Krieger88 is flying high
Default

So what? He'd have to implement 0.4 anyway if he wants to be compatible to most of the network (=Morpheus 2.0).
Reply With Quote
Reply


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
Connection problem? or download problem? help! Mich_in_NJ Connection Problems 5 November 25th, 2006 04:05 PM
Download problem(Disk Problem) kevoz Download/Upload Problems 0 December 22nd, 2005 03:00 PM
Same problem.....more ppl please respond to my freezing problem!! bomb13 General Windows Support 3 August 7th, 2005 04:06 PM
If you feel there is a big problem in 2.4.4 it is your problem and I don't give a *** Cyberzero Open Discussion topics 10 June 19th, 2002 02:03 PM


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