On 24/09/2019 16:32, Milan Mimica wrote:
:
I looked into it and found this:
The difference is how Java_sun_nio_ch_Net_poll is implemented. On unix
it uses poll(2), on Windows it uses select(2). Regarding timeouts,
poll() has "wait at least"[2] semantics and overruns by design, while
select() on
Hello list
While working on the test for JDK-8228580 on core-libs-dev[1] we came
across inconsistent behaviour of Socket::setSoTimeout over different
platforms:
In case there is no data to read, on Windows, client
socket.getInputStream().read(...) can return *earlier* than timeout
specified, while