SO_TIMEOUT is not needed if we don't read anything - GCJ compatibility

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@361 375186e5-ef17-0410-b0b6-91563547dcda
This commit is contained in:
angryziber 2008-04-06 08:48:46 +00:00
parent 3c664964f7
commit b37b8f4e24

View File

@ -40,7 +40,6 @@ public class TCPPinger implements Pinger {
for (int i = 0; i < count && !Thread.currentThread().isInterrupted(); i++) {
Socket socket = new Socket();
socket.setSoTimeout(timeout);
long startTime = System.currentTimeMillis();
try {