Open joanmacmillian opened 6 years ago
If Java's Socket
API supports 'read timeout', the feature can be supported. Currently, the Socket
class has setSoTimeout(int)
method but does not have setReadTimeout(int)
method.
I'm sorry I don't have time to implement the feature in nv-websocket-client layer.
Settings a read timeout would be very useful. For example, try running
nc -l 8888
and creating a websocket withlocalhost:8888
. The connection will never open, but never fail either.