Liste des Groupes | Revenir à co vms |
On 9/29/2024 9:46 PM, Lawrence D'Oliveiro wrote:>
On Sun, 29 Sep 2024 21:42:48 -0400, Arne Vajhøj wrote:>
On 9/29/2024 9:21 PM, Lawrence D'Oliveiro wrote:>>
Then it asks another process for a copy of that socket descriptor.
Perhaps there is one overall connection-management process that
accepts all new connections; if not, another worker that has that
socket can pass it along.
It should not be a problem of copying a socket descriptor from one
process to another process - I believe it is just an int.
>
But will it work in the other process????
That’s not how you do it. You pass it with the SCM_RIGHTS
ancillary-data option in Unix-family sockets
<https://manpages.debian.org/7/unix.7.en.html>.
Worker A has a AF_INET socket to client so what AF_UNIX socket does it
pass to worker B?
Les messages affichés proviennent d'usenet.