Files
xemu/util
Marc-André Lureau f1cd5d41ef util: WSAEWOULDBLOCK on connect should map to EINPROGRESS
In general, WSAEWOULDBLOCK can be mapped to EAGAIN as done by
socket_error() (or EWOULDBLOCK). But for connect() with non-blocking
sockets, it actually means the operation is in progress:

https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-connect
"The socket is marked as nonblocking and the connection cannot be completed immediately."

(this is also the behaviour implemented by GLib GSocket)

This fixes socket_can_bind_connect() test on win32.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-10-04 18:49:18 +02:00
..
2018-09-25 15:50:15 +02:00
…
2018-10-02 18:47:55 +02:00
…
…
2019-08-16 13:31:52 +02:00
…
…
2019-09-11 08:46:17 +02:00
2019-08-21 16:29:57 +02:00
2019-02-07 15:49:08 +02:00
…
2018-12-20 10:29:08 +01:00
2019-09-16 17:13:06 +02:00
…
…
2018-08-24 20:26:37 +02:00
2018-06-29 12:32:10 +02:00