hint at SCM_RIGHTS

master
Christian Ulrich 2020-10-21 00:28:06 +02:00
parent fc2b0e9b63
commit 23272fda6c
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 3 additions and 2 deletions

View File

@ -123,8 +123,9 @@ The file descriptor representing that socket will be included in the status
message in a control message, a.k.a ancillary message.
The application has to use the ``recvmsg`` system call to receive that control
message and access the file descriptor. This mechanism is described in the man
pages [unix(7)](https://linux.die.net/man/7/unix),
message (it has the type ``SCM_RIGHTS``) and access the file descriptor. This
mechanism is described in the man pages
[unix(7)](https://linux.die.net/man/7/unix),
[cmsg(3)](https://linux.die.net/man/3/cmsg) and
[recv(2)](https://linux.die.net/man/2/recv). The example applications can be used
as a reference too. After receiving the file descriptor it can immediately be