Article View: alt.comp.lang.rust
Article #518Re: “The end of software secrecy is almost upon us”
From: Chris M. Thomasson
Date: Sat, 07 Nov 2026 03:22
Date: Sat, 07 Nov 2026 03:22
47 lines
3770 bytes
3770 bytes
On 11/2/2026 11:15 PM, Charlie Gibbs wrote: > On 2026-11-03, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote: > >> On 11/2/2026 6:42 PM, Charlie Gibbs wrote: >> >>> On 2026-11-02, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote: >>> >>>> On 11/1/2026 11:40 AM, Charlie Gibbs wrote: >>>> >>>>> I was already setting the socket to non-blocking before calling >>>>> connect() - and yet there were times when the API blocked anyway. >>>>> I never did figure out why, and we had a customer getting impatient, >>>>> so I just spun off another thread and moved on to other things. >>>> >>>> connect? On Windows we use ConnectEx. >>>> >>>> https://learn.microsoft.com/en-us/windows/win32/api/mswsock/nc-mswsock-lpfn_connectex >>>> >>>> For accept, AcceptEx: >>>> >>>> https://learn.microsoft.com/en-us/windows/win32/api/mswsock/nf-mswsock-acceptex >>> >>> Ah, but then we come to that critical clause: >>> >>> Note This function is a Microsoft-specific extension to the Windows Sockets specification. >>> >>> Yes, one more attempt to close the open socket model with >>> Microsoft proprietary extensions. My code has to run under >>> Linux as well. Opening the socket in a separate thread is >>> guaranteed to avoid hangs, regardless of operating system. >> >> These are for high performance systems. But, they solve a lot of >> problems. Say your program starts to gain a lot of users? > > In our environment that should never happen. then using the high performance API's is not necessary for your "current" use case. But, well, what happens if it does happen? > The only legitimate > users are those that are other elements of our software package. > Any others (or too many seemingly legitimate users) get a rejection > message, followed by disconnection. >
Technical Details
Message-ID:
<11cm5h5$33so2$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-mailReferences:
<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> <sAMFS.70974$%ZO1.16046@fx13.iad> <11cb51b$3a1ce$5@dont-email.me> <ESbGS.128743$Gau3.81383@fx14.iad> <11cbqdb$3ft6j$2@dont-email.me> <_RfGS.60038$Zy1.54649@fx05.iad>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: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers Subject: Re: “The end of software secrecy is almost upon us” Date: Fri, 6 Nov 2026 19:22:12 -0800 Organization: A noiseless patient Spider Lines: 47 Message-ID: <11cm5h5$33so2$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> <sAMFS.70974$%ZO1.16046@fx13.iad> <11cb51b$3a1ce$5@dont-email.me> <ESbGS.128743$Gau3.81383@fx14.iad> <11cbqdb$3ft6j$2@dont-email.me> <_RfGS.60038$Zy1.54649@fx05.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 07 Nov 2026 03:22:13 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3273474"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BTk5yP/XTRPZiE/+QmINp5Gi+RM4y7D0="; posting-host="bc0e21f3ed9b117e5b0477befa9d31ee" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:w0mXyau2+ON3uLhyuh00YkT/pUg= sha256:D10Fgg5Nkaq999WWC1wIO/jRQiLaA+wyrgMST/RtHh0= sha1:NqYuRnC/Lp6NL//L7u7OCUhCvQQ= sha256:kYXuO3V7GMrnoImClVze86vpItwdq4o0yvbrCfc7r1s= Content-Language: en-US In-Reply-To: <_RfGS.60038$Zy1.54649@fx05.iad>