File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Pluging out SocketChannel and pluging in SocketFactory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Pluging out SocketChannel and pluging in SocketFactory" Watch "Pluging out SocketChannel and pluging in SocketFactory" New topic
Author

Pluging out SocketChannel and pluging in SocketFactory

John Landon
Ranch Hand

Joined: Sep 25, 2008
Posts: 227
Hello,
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!
 
Consider Paul's rocket mass heater.
 
subject: Pluging out SocketChannel and pluging in SocketFactory