๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #662

Re: โ€œThe end of software secrecy is almost upon

#662
From: boltar
Date: Wed, 04 Nov 2026 08:54
26 lines
2750 bytes
On Mon, 2 Nov 2026 23:46:58 +0200
Michael S <already5chosen@yahoo.com> gabbled:
>On Mon, 2 Nov 2026 15:43:42 -0000 (UTC)
>boltar@caprica.universe wrote:
>> 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*. 

Yes, for some bizarre reason MS implemented the userspace sockets as some
kind of handle instead of an integer file descriptor like every other sockets
library.

>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.

Depends on the use case.
Technical Details
Message-ID: <11cerrs$3kuh8$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11amvre$15far$1@dont-email.me> <20261030005434.00005458@yahoo.com> <11c0v1j$her$1@reader2.panix.com> <20261030105900.000020ce@yahoo.com> <11c1uqd$keq$1@reader2.panix.com> <11c2fcl$19bk2$1@dont-email.me> <11c2rla$hko3$2@dont-email.me> <11c362o$lfc1$1@dont-email.me> <hWdFS.111353$cLL5.22363@fx42.iad> <11c3uqi$rrul$1@dont-email.me> <11c4dfu$39hoo$1@dont-email.me> <20261031195610.00002b01@yahoo.com> <11c6tfa$3bvko$1@dont-email.me> <20261101215941.000000f8@yahoo.com> <11cab3e$1disg$1@dont-email.me> <20261102234658.0000349e@yahoo.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: boltar@caprica.universe
Newsgroups: comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: โ€œThe end of software secrecy is almost upon
Date: Wed, 4 Nov 2026 08:54:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <11cerrs$3kuh8$1@dont-email.me>
References: <11amvre$15far$1@dont-email.me>
	<20261030005434.00005458@yahoo.com>
	<11c0v1j$her$1@reader2.panix.com>
	<20261030105900.000020ce@yahoo.com>
	<11c1uqd$keq$1@reader2.panix.com>
	<11c2fcl$19bk2$1@dont-email.me>
	<11c2rla$hko3$2@dont-email.me>
	<11c362o$lfc1$1@dont-email.me>
	<hWdFS.111353$cLL5.22363@fx42.iad>
	<11c3uqi$rrul$1@dont-email.me>
	<11c4dfu$39hoo$1@dont-email.me>
	<20261031195610.00002b01@yahoo.com>
	<11c6tfa$3bvko$1@dont-email.me>
	<20261101215941.000000f8@yahoo.com>
	<11cab3e$1disg$1@dont-email.me>
 <20261102234658.0000349e@yahoo.com>
Content-Type: text/plain; charset=US-ASCII
Injection-Date: Wed, 04 Nov 2026 08:54:21 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3832360"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX198U7T/24UrkzL+U5kRaofq"; posting-host="48e45e4dce424d64f7997d4ea987051d"
Cancel-Lock: sha1:WvKzq2aR/HeIMwXPFaf1rdmNqIU= sha256:uNb7gESMLrqHDkPQ26SUZx2OtLQKftrLrZB6i7y8dEU=
	sha1:sRvZaXMKOSY44HtrZhFEomMNqWQ= sha256:3hlj9oqN+YJvK3ZdMfYLkvVl43kyJ1Ss/9EhZWWwMss=