Article View: alt.comp.lang.rust
Article #459Re: “The end of software secrecy is almost upon
From: boltar
Date: Sat, 31 Oct 2026 09:47
Date: Sat, 31 Oct 2026 09:47
13 lines
2282 bytes
2282 bytes
On Sat, 31 Oct 2026 05:37:23 -0000 (UTC) Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> gabbled: >Here’s 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. 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 which is their main raison d'etre, but on unix they're a very powerful tool. For simple servers with a low workload they can allow single threaded development simplifying the code immensely.
Technical Details
Message-ID:
<11c4dfu$39hoo$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>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: Sat, 31 Oct 2026 09:47:42 -0000 (UTC) Organization: A noiseless patient Spider Lines: 13 Message-ID: <11c4dfu$39hoo$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> Content-Type: text/plain; charset=UTF-8 Injection-Date: Sat, 31 Oct 2026 09:47:43 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3458840"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18IGAloXd2K1SVWNP3enYWA"; posting-host="1f5a4d81006d45a41cc4c0301d1b2b21" Cancel-Lock: sha1:Cp9o2938M6TiLXzRQgNner4Glf8= sha256:WErm/mtdQkm1ch6ggA6D2lTfHMoTQtB/eamRpkY6eS0= sha1:vQEfCtV7vUj2uIe5mfMjh17TGww= sha256:qHLcVwta4MaMxKuu0YAcHHn1qV4riiytjSTt5qlT4NE=