creatSocket(host,port) only this method will spend more than 10 minute when host exist but port not!! who can help me set timeout when only when creatSocket!!! and i know socket.setTimeOut(),but this method can do only socket is connectted!!!
i use jsse/ssl socket! when i use socket = (SSLSocket)factory.createSocket(host, port); if i give a exists host and not used port! i will wait for more than 10 minute!!! how can i set timeout, when creatSocket???