Initial implementation of read() timeout on I2PSocket. Let's see whether it

could solve duck's problems with dangling threads...
(human)
This commit is contained in:
human
2004-04-21 17:56:16 +00:00
committed by zzz
parent 58e7574a6a
commit d7c3a53f2d
3 changed files with 56 additions and 6 deletions

View File

@@ -21,7 +21,11 @@ public class I2PSocketOptions {
return _connectTimeout;
}
/**
* Define how long we will wait for the ACK from a SYN, in milliseconds.
*
*/
public void setConnectTimeout(long ms) {
_connectTimeout = ms;
}
}
}