• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Web Proxy Question (Java)

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
You could put as much as you want in a single file, it just depends on how messy you want your code to get. I'd have split just the server half of it into 10+ classes already but I tend to err on the side of too fancy 😛
 
Ok....I am not seeing how I should create a connection as a client. First I created a new:

Socket clientProxy_ToServer = null;

then I did

clientProxy_ToServer = new Socket(80);

I am not sure exactly what to send to the web server. Or where to do it. and then what to do when the server responds and how do I send it back to my browser (the client). A little insight would be greatly appreciated.
Thanks for your help.
 
Back
Top