[Info-vax] Apache + mod_php performance
Dan Cross
cross at spitfire.i.gajendra.net
Mon Oct 7 16:38:47 EDT 2024
In article <670443fb$0$705$14726298 at news.sunsite.dk>,
Arne Vajhøj <arne at vajhoej.dk> wrote:
>On 10/7/2024 4:17 PM, Dan Cross wrote:
>> In article <ve1f1t$1mvdn$2 at dont-email.me>,
>> Arne Vajhøj <arne at vajhoej.dk> wrote:
>>> On 10/7/2024 11:52 AM, Dan Cross wrote:
>>> $ cc zz
>>>
>>> len = CMSG_SPACE(sizeof(int));
>>> .........^
>>> %CC-I-IMPLICITFUNC, In this statement, the identifier "CMSG_SPACE" is
>>> implicitly declared as a function.
>>> at line number 33 in file DKA0:[arne]zz.c;1
>>> [snip]
>>
>> Why would you try to build that under VMS? It obviously would
>> not build or work there.
>
>The question whether a socket descriptor could be transferred
>between processes on VMS similar to on *nix was raised.
>
>And it was noted that VMS had Unix socket support
>
>But compiling shows that some of the structs are missing
>relevant fields.
>
>So conclusion must be that VMS can't do that.
You should be more explicit when writing. Quoting the entire
program and then spewing compiler error messages into the group
isn't very polite, and is utterly ambiguous as to what you might
mean. Basic netiquette would suggest you should at least
attempt to explain yourself, and trim your reply accordingly.
Moreover, your message ignored context. Looking back, one can
see that Dave Froble asked (in <vdvoeq$1jerg$1 at dont-email.me>):
|Well, some of the issue is in the text of the question. What does one mean be
|"pass socket"?
The program I posted was in response to that. Quoting from the
part of the message that you cut out:
|Perhaps an example will be illuminating. See the program at the
|bottom of this post; it is self-contained and, I claim, fairly
|representative of the technique. I wrote and tested it on
|OpenBSD 7.5, on a RISC-V devbox.
In other words, the example program was meant to answer the
question, "what does one mean by 'pass socket'?", as asked by
Dave.
It is clear (enough) that VMS does not support the mechanism for
passing open IO descriptors between process that Unix does. But
that does not mean that VMS does not support a similar way to do
more or less the same thing; if folks understand what one means
when discussing "socket passing" or "file descriptor passing" or
whatever from the Unix side, then it makes it easier to look for
the corresponding mechanism on the VMS side (if such exists).
- Dan C.
More information about the Info-vax
mailing list