Liste des Groupes | Revenir à co vms |
On Sun, 29 Sep 2024 21:42:48 -0400, Arne Vajhøj wrote:Worker A has a AF_INET socket to client so what AF_UNIX socket doesOn 9/29/2024 9:21 PM, Lawrence D'Oliveiro wrote:That’s not how you do it. You pass it with the SCM_RIGHTS ancillary-dataThen 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????
option in Unix-family sockets
<https://manpages.debian.org/7/unix.7.en.html>.
Les messages affichés proviennent d'usenet.