Gnutella Forums  

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

General Discussion For anything which doesn't fit somewhere else (for PHEX users)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old August 23rd, 2002
Unregistered
Guest
 
Posts: n/a
Lightbulb Looking for ideas/code/etc...

Here at my office, all our ports (except 80 of course) are blocked
by the firewall. In response to this effort, I have a simple Java app that allows the developers here to surf site that aren't on Port 80. Now we are hoping to extend that idea to file sharing.
Here is the idea so far:

We have downloaded the Phex JAR to a Java host outside the firewall... and written a servlet that has successfully connected to the Gnutella network on Port(s) 6346. The goal is to write a web interface that allows searching the Gnutella network, and downloading the files to that java host. Once the files are downloaded to a directory on the external java host, they would become available to the rest of the Gnutella network... but more importantly, the developers here would be able to download them through Port 80.

Here is the servlet service method code thus far:

............
public void doGet( HttpServletRequest req,
HttpServletResponse res ) throws ServletException
{
try{
out = res.getWriter();
try {
ServiceManager.getListener().startup();
}
catch (Exception ex) {
out.println ( "error getting listener: " + ex );
}
ServiceManager.getNetworkManager().init();
ServiceManager.getManager().startJobsRunner();
out.println("Service Manager initialization complete.");
}
catch (IOException ex) {
out.println ( "error getting writer: " + ex );
}
}
...............

It's not much... but it's a start. If anyone has any ideas or code that would help us out, it would be greatly appreciated!!!!!!!

Thanks in advance.
Dave Cain
Reply With Quote
  #2 (permalink)  
Old August 25th, 2002
Disciple
 
Join Date: August 3rd, 2002
Posts: 15
Eagle3yes is flying high
Cool I usually do that kind of thing with VNC

But its true if you only have port 80 I am not sure if the Java VNC in an applet needs more ports than that 80 ? Also check Thight VNC...

Anyhow but it is a great Idea you mention, HTTP interfacing allows fast and complex User Interfaces and the standart adherance is also fine.
I guess you are looking at quite some project though...
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
Best Ideas Ever! jadakiss602 New Feature Requests 0 April 11th, 2007 03:46 PM
Got Ideas? polly55 Chat - Open Topics - The Lounge 3 September 4th, 2006 11:39 AM
Some Ideas -*-|IRON|MAN|-*- New Feature Requests 0 June 21st, 2006 02:04 PM
All out of ideas jackiepantaloons Connection Problems 1 October 13th, 2004 11:00 PM
An LW downloader (mini LW, with only minimal code) + get UPnP code from Azureus arne_bab New Feature Requests 0 June 25th, 2004 07:46 PM


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