diff options
author | Graham Fawcett <fawcett@uwindsor.ca> | 2018-03-28 19:09:16 -0400 |
---|---|---|
committer | Graham Fawcett <fawcett@uwindsor.ca> | 2018-03-28 19:09:16 -0400 |
commit | ace96bf83e711438d517bec33e5d83f27e352726 (patch) | |
tree | 72718d3410b40b370a36cdaab30e286d331430dc /lib/genode_cpp/threads.h | |
parent | 50229293ae5898acc2c30f9cb87b59e2fa0b236a (diff) | |
download | Nim-ace96bf83e711438d517bec33e5d83f27e352726.tar.gz |
net.connect (with timeout), raise error on connect failure
Under Linux (probably POSIX), the current code tests for timeout, but does not test for connection failure. connectAsync() returns succesfully upon an EINPROGRESS result; but at this point, the connection state is still unknown. After selectWrite() is done, we need to test the socket for errors again.
Diffstat (limited to 'lib/genode_cpp/threads.h')
0 files changed, 0 insertions, 0 deletions