@mp035: While descriptors are local, they CAN be passed between processes as 
@AMIGrAve is trying to do. The details depend on the socket type, which must be 
an AF_LOCAL or AF_UNIX, IIRC; You can google "sending fd between processes" for 
answers; a random one I found with examples in C is 
[http://poincare.matf.bg.ac.rs/~ivana/courses/ps/sistemi_knjige/pomocno/apue/APUE/0201433079/ch17lev1sec4.html](http://poincare.matf.bg.ac.rs/~ivana/courses/ps/sistemi_knjige/pomocno/apue/APUE/0201433079/ch17lev1sec4.html)
 ; {{man recvmsg}} describes it as well.

But I've only ever done this in straight C

Reply via email to