Close
jGuru Forums
Posted By: bhavik_jigar Posted On: Thursday, March 10, 2005 02:22 AM
hi, all! plz.tell me that is there ne way to build a proxy server/firewall in java. i need the name of the package with which it could b possible. i want the same kind of proxy server as WinProxy...Plz reply ASAP....
Re: building a proxy server in java
Posted By: Anonymous Posted On: Friday, April 8, 2005 04:29 PM
Posted By: bhavik_jigar Posted On: Monday, March 14, 2005 12:49 AM
hey thanx! but could u tell me that vat is the difference b/w proxy server nd firewall.Is there ne source code available on net for proxy/firewall???if ne body has the information then pls. do reply....bye...
Posted By: Stephen_Ostermiller Posted On: Friday, March 11, 2005 01:08 AM
To build a proxy server, you need to open a java.io.Socket, listen for data, then make that same request to some other server and proxy the response.
A firewall needs to be able to block network requests from other programs. Java just doesn't have the APIs to accomplish this.