On 11/2/2026 1:46 PM, Michael S wrote:
> On Mon, 2 Nov 2026 15:43:42 -0000 (UTC)
> bolt…@caprica.universe wrote:
>
>> On Sun, 1 Nov 2026 21:59:41 +0200
>> Michael S <alre…@yahoo.com> gabbled:
>>> On Sun, 1 Nov 2026 08:32:42 -0000 (UTC)
>>> bolt…@caprica.universe wrote:
>>>> 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.
>>
>> Last time I had the misfortune to use win32 it couldn't multiplex on
>> sockets.
>>
>
> That's nonsense. That part of Winsock2 API did not change since 1993.
> That is, in early 2000s they added poll() (WAASAPoll), but select() is
> the same BSD select() from the very beginning, just a little easier to
> use than original, because nfds is DNC.
> Now, if you woulds say that on Winsock2 select() can't multiplex
> waiting for socket I/O with waiting for other sorts of I/O (files and
> pipes) then your statement would make more sense*.
> But it does not sound like you really want to make sense. You strongly
> prefer mindless bashing.
>
> ----
> * - Although,
> 1) of course, there (in Win32) exist not too complicated alternative
> methods to achieve such multiplexing as well. Just not via select().
> 2) today, with nearly all file I/O deeply cached, multiplexing waiting
> for file I/O with waiting for sockets is a bad idea. OTOH, Multiplexing
> sockets with pipes could still make sense, infrequently.
>
>
Have you ever used IOCP on windows?