Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 0523bff5d630ab6d221700a44a4fffee6bb6405b
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/0523bff5d630ab6d22…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2020-10-10 (Sat, 10 Oct 2020)
Changed paths:
M platforms/unix/plugins/SocketPlugin/sqUnixSocket.c
Log Message:
-----------
Unix socket plugin:
Fix two failures and one error for socket tests on macOS. sendto(2) may fail
with EISCONN if the socket is already connected and a perr address is supplied.
So if sendto errors with EISCONN retry using send.
Use poll(2) instead of select for determining writability of a single socket.
epoll wouldn't be a good choice, because many unix systems don't have it. I think libevent would be a much better choice, covering all currently supported operating systems (perhaps barring acorn. is that supported?), including windows: https://libevent.org/
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/7deac028aeeb769c87…