I am doing socket communication through follwing IP address it working but no i want to do communication in ssl mode but how can I change InetAddress serverAddr = Ine
InetAddress serverAddr = Ine
Java has the SSLSocket class.
http://download.oracle.com/javase/1.4.2/docs/api/javax/net/ssl/SSLSocket.html
Hope this helps, haven't used it myself (yet).