On Sun, 1 Nov 2026 08:32:42 -0000 (UTC)
bolt…@caprica.universe wrote:
> On Sat, 31 Oct 2026 19:56:10 +0200
> Michael S <alre…@yahoo.com> gabbled:
> >On Sat, 31 Oct 2026 09:47:42 -0000 (UTC)
> >bolt…@caprica.universe wrote:
> >
> >> On Sat, 31 Oct 2026 05:37:23 -0000 (UTC)
> >> Lawrence =3D?iso-8859-13?q?D=3DFFOliveiro?=3D <l…@nz.invalid>
> >> gabbled:
> >> >Here=E2=80=99s a fun little thing: if you set a socket to
> >> >nonblocking and then do the connect(2) call, it will seemingly
> >> >fail with an EINPROGRESS error. But in fact, the connection
> >> >attempt gets initiated, and you can monitor its subsequent
> >> >progress from your event loop. =20
> >>=20
> >> Far too many devs don't know about or don't understand multiplexing
> >> using select() or poll(). Admittedly these are borked on Windows as
> >> you can't use sockets with them=20
> >
> >On what planet?
>
> On this one where you see code that is only multithreaded in order to
> serve individual sockets, not because it needs to be.
>
That's because many people unable to implement state machines. Or able,
but don't like them.
It has nothing to do with availability and functionality of select/poll
on Windows.