This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello javaranch, Can u please suggest me how do we pass authentication information when we are connecting to server and when the client is behind FIREWALL using SOCKET. I know how we do it when we use URLConnection as it has setRequestProperty("Proxy-Authorization", auth)and we need to set the following properties System.getProperties().put("proxySet","true"); System.getProperties().put("proxyHost","yourHost"); System.getProperties().put("proxyPort","80"); So please let me know how to do the above mention thing using sockets. Expecting a reply at the earliest. Thanking in advance kiran