Pluging out SocketChannel and pluging in SocketFactory
posted 4 years ago
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.