This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Pluging out SocketChannel and pluging in SocketFactory
 
Similar Threads
How to create a SSLSocket on midp ??
how to set a axsis2 my eclips IDE
Example of SSLSocket
SSLHandshakeException
Opened a socket with ssl. isConnected returns true. But when sending data get 403