It sounds like a datagram socket would be a better fit. If the processes are related (one starts the others), then you can use socketpair() to create the sockets safely. Otherwise, better make them...