On Thu Feb 19 17:18:13 2026 +0000, Bernhard Übelacker wrote:
Thanks for the clarification. I added this in v3, and therefore moved in the implementation the event resetting below the call to sockaddr_to_unix. For the test about the "successful connect": In this [Testbot run](https://testbot.winehq.org/JobDetails.pl?Key=161973) I added a connect to an open port, but I receive WSAEALREADY from native, when there is an event stored before. Is this somewhere near what you wanted to see? Your previous connect hasn't had time to resolve to a failure state yet. The socket is only connectable again once it's clear that it's actually failed to connect. You'll probably want to use a select() or WSAPoll() in order to wait for that to happen, before doing the event tests.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10044#note_130775