Sslsocket Hangs At Getinputstream When Android Device Is In Wifi
I want to have a SSL encrypted TCP server on the android device and a client on the computer which will connect to the device. I create a SSLServerSocket on the Android device with
Solution 1:
You are right that there is a reverse DNS lookup that is timing out. In certain Java Runtime Environments, during the handshake with a raw IP address, the SSLContext unnecessarily performs a lookup of the server's IP address. This is to determine if the common name of the server certificate matches. Try using one of the solutions mentioned here:
Post a Comment for "Sslsocket Hangs At Getinputstream When Android Device Is In Wifi"