So I opened a socket connection like was described here I want to let other processes use that open connection. Will dup()
help me or what shall I do?
In order to pass sockets between existing processes you need to use sendmsg
- Or libancillary which abstracts the whole thing.