fd argument in NewConnection() Method (profile-api.txt)
How can the bluez stack, which runs in its own process, generate a file descriptor and hand that fd over to another process (the bluetooth profile server process)? I was under the impression that fds can not be passed across processes.
bluez 5.2
Signature · 3 lines
Randy Yates Digital Signal Labs http://www.digitalsignallabs.com
Hi Randy,
Quoted 6 lines · Randy Yates
How can the bluez stack, which runs in its own process, generate a file descriptor and hand that fd over to another process (the bluetooth profile server process)? I was under the impression that fds can not be passed across processes.
bluez 5.2
Have a look at the section talking about SCM_RIGHTS in 'man 7 unix'
hth,
daniel