java socket timeout

Solutions on MaxInterview for java socket timeout by the best coders in the world

showing results for - "java socket timeout"
Jared
05 Aug 2017
1Socket socket = new Socket();						// 1000 milliseconds
2socket.connect(new InetSocketAddress(ipAddress, port), 1000);