This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
OK, I've spun myself into circles so that I'm not sure which way I'm pointing. I am a client trying to interface a server via SSL. On the client side, do I want to set up an SSLServerSocket or and SSLSocket?
Sun Certified Java 2 Programmer
posted 9 years ago
You'd use SSLSocket (SSLServerSocket is kind of a giveaway, isn't it ) You wouldn't by any chance want to run HTTP over that socket, i.e., HTTPS? Because in that case it would be easier to use javax.net.ssl.HttpsURLConnection.