![]() |
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 |
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. |
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... |
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. |
Quote:
|
Quote:
|
Quote:
|
So what? He'd have to implement 0.4 anyway if he wants to be compatible to most of the network (=Morpheus 2.0). |
All times are GMT -7. The time now is 04:35 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.