Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Open Discussion topics
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Open Discussion topics Discuss the time of day, whatever you want to. This is the hangout area. If you have LimeWire problems, post them here too.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 7th, 2002
Connoisseur
 
Join Date: July 4th, 2002
Posts: 274
Krieger88 is flying high
Default

I added a few lines of code to my version of LimeWire so it will only connect to LimeWire/AquaLime ultrapeers. In case you are willing to compile LimeWire yourself this might help you:

Just edit the .../core/com/limegroup/gnutella/ManagedConnection.java and replace the initialize() method with the following one.

(lines 345 following)
public void initialize()
throws IOException, NoGnutellaOkException, BadHandshakeException {
//Establish the socket (if needed), handshake.
if (_isRouter)
super.initialize(); //no timeout for bootstrap server
else {
super.initialize(CONNECT_TIMEOUT);
if (getUserAgent() != null) {
if (getUserAgent().indexOf("Lime") == -1) // close connection if non-LimeWire
this.close();
}
}
//Start the thread to empty the output queue
new OutputRunner();
}


I know that relying on the user agent string in the handshake is not very safe, but it works.
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
Morpheus and Neonet suck... only Gnutella is the good thing of Morpheus Dark Guy Morpheus (Windows) 0 March 7th, 2007 05:50 PM
How to get new ultrapeers? mannshands General Windows Support 1 June 4th, 2005 04:03 PM
ultrapeers only osu_uma Connection Problems 9 June 4th, 2003 08:02 PM
How to not get ultrapeers? Unregistered Connection Problems 28 September 20th, 2002 11:49 AM
Ultrapeers and BS Unregistered General Gnutella / Gnutella Network Discussion 1 April 13th, 2002 10:54 AM


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