Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vafcau$1st8a$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vafcau$1st8a$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor <vallor@cultnix.org>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Sun, 25 Aug 2024 13:41:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <vafcau$1st8a$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87il0lldf8.fsf@tudado.org>
	<choices-20240413123957@ram.dialup.fu-berlin.de>
	<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
	<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
	<v9posc$1rpdj$1@dont-email.me> <v9pvoo$1sn55$1@dont-email.me>
	<v9r60h$2289h$2@dont-email.me> <v9sa91$2afht$1@dont-email.me>
	<v9sbf4$2artq$1@dont-email.me> <v9shqt$2bn73$1@dont-email.me>
	<v9t4vm$2eg9b$1@dont-email.me> <v9t6jg$2e96d$1@dont-email.me>
	<vaennp$1q5l3$2@dont-email.me> <vaf179$1rnhl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Aug 2024 15:41:51 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="28f6d5a3a73146dcec7aae3d6bd3dd5c";
	logging-data="1996042"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18C/ZUqI+cksp2AtSvtgCjU"
User-Agent: Pan/0.160 (Toresk; 7830f38; Linux-6.11.0-rc5)
Cancel-Lock: sha1:tjvUNyaFkZXFvwtB2Df0JD5U7dM=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
 XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
Bytes: 3206

On Sun, 25 Aug 2024 12:32:10 +0200, "Dmitry A. Kazakov"
<mailbox@dmitry-kazakov.de> wrote in <vaf179$1rnhl$1@dont-email.me>:

> On 2024-08-25 09:50, Sebastian wrote:
>> In comp.unix.programmer Dmitry A. Kazakov <mailbox@dmitry-kazakov.de>
>> wrote:
>>> Windows did many things wrong, but accessing file descriptors by
>>> numbers is beyond even Windows. In Windows a file is an OS object. You
>>> access it getting an opaque handle to. Note that a handle can be
>>> marshaled from one process to another. Try that with process-local
>>> numbers!
>> 
>> UNIX domain sockets support the passing of file descriptors between
>> processes.
> 
> File descriptor (a pointer to) is not file number.
> 
> You cannot pass number 1 simply because 1 is already in use.

On this Linux system, "man 7 unix", in the section
"SCM_RIGHTS", it explains how the passing mechanism
is handled.  One paragraph reads:

              Commonly, this operation is referred to as "passing  a
              file  descriptor"  to  another process.  However, more
              accurately, what is being passed is a reference to  an
              open  file  description  (see open(2)), and in the re‐
              ceiving process it is likely that a different file de‐
              scriptor  number will be used.  Semantically, this op‐
              eration is equivalent to duplicating (dup(2))  a  file
              descriptor  into  the file descriptor table of another
              process.

-- 
-v