mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
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:
parent
3c664964f7
commit
b37b8f4e24
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user