On Sunday, 12 November 2017 at 21:45:56 UTC, Anonymouse wrote:
But a "status change" for a reading Socket is "stuff can now
connect", for a writing one "connection established", and not
sure about the error ones. It doesn't seem to be "there's data
waiting to be read" which I'd hoped for,
I've been using blocking Sockets with timeouts for a while now,
but wherever I look the word is "do consider using a non-blocking
socket". Even the docs for std.socket.setOption;
In a typical application, you might also want to consider using
a non-blocking socket instead of setting a timeout