Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pluging out SocketChannel and pluging in SocketFactory  RSS feed

John Landon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to this.
I have a code that does what I want via a SocketChannel but I need ssl. So I am trying to see if the current implementation works with just a Socket (so I can add SSLSocket later on).
When I open SocketFactory I need to implement the methods in it.....and I do not know how.
All I want is to have a Scoket (and SSLSocket later on) for ip address and port that I have.

Any help appreciated.

Thank you!
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!