On 2026-11-02, bolt…@caprica.universe <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.
By "multiplex on sockets" do you mean supporting more then one connection
on a single socket? Serious question here: could you tell me how this can
be useful?
My Win32 code does accept multiple incoming connections on the same
port number, but each one gets its own socket. And to get back on
thread (ahem), it uses a single thread with nonblocking sockets.
--
/~\ Charlie Gibbs | In this world there are
\ / <cgib…@kltpzyxm.invalid> | two kinds of people:
X I'm really at ac.dekanfrus | 1. Those who can extrapolate
/ \ if you read it the right way. | from incomplete data.