PDA

View Full Version : connection


View Full Version : connection


Power Penguin
August 23rd, 2002, 06:09 PM
I'm trying to make a first connection with a hostcache with VB's
Winsock but nothing happens when I try the connect method (the
connect event never fires) with the following properties :

Host: connect1.gnutellanet.com
Port: 6346

Can anyone help?

method
September 11th, 2002, 02:28 AM
Does your code also handle the DNS name resolving, if not, and you want some code that does that all for ya (name resolving & connecting)... let me know and I'll upload it (No lame OCX/DLL files needed either, it's all done through API) ;)

method
September 11th, 2002, 03:31 AM
Well.. I might as well post it in case I'm not around or summat...

It'll take the input...
connect1.gnutellanet.com:6346

and turn it into the process...
winsock1.connect 3510483171, 6346

3510483171 being the long value of 209.61.184.227
(that's what it resolved to when i tried it anyway)

It should be straight forward enough ;)

whiff
September 11th, 2002, 07:27 AM
gnutellanet.com definitely went down for a while, may still be out of order. Greg Bildson (at LimeWire) has been referring everyone to 208.239.76.100 which is the freepeers/bearshare host cache.

Power Penguin
September 30th, 2002, 06:36 PM
Thank you Method. May all your subroutines be bug free, and your variables properly declared. I'll come back and have a look at it when I'm better at it. In about 2 years time (!)