• Post Reply Bookmark Topic Watch Topic
  • New Topic

ssl socket direction  RSS feed

 
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: 42972
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!