forked from I2P_Developers/i2p.i2p
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user