hint at SCM_RIGHTS
This commit is contained in:
parent
fc2b0e9b63
commit
23272fda6c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue