• Post Reply Bookmark Topic Watch Topic
  • New Topic

ssl socket direction

 
Darryl Failla
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!