Re: [PATCH v8 0/6] MR2786: Add support for AF_UNIX sockets
19 May
2023
19 May
'23
5:03 p.m.
If you mean setting `O_NONBLOCK` on `server`, that would cause `accept` to return `EWOULDBLOCK` or `EAGAIN`.
No, I mean you can set O_NONBLOCK on "client", i.e. the socket that calls connect().
By "clean up", do you mean only calling `WaitForSingleObject` on it, or is there more that I would need to do?
Wait for it and close the handle. It should be unnecessary if you just use nonblocking i/o with the socket, though. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2786#note_33265
945
Age (days ago)
945
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zebediah Figura (@zfigura)