Is there a way for multiple processes to share a listening socket?
You can share a socket between two (or more) processes in Linux and even Windows. Under Linux (Or POSIX type OS), using fork() will cause the forked child to have copies of all the parent’s file descriptors. Any that it does not close will continue to be shared, and (for example with a TCP listening … Read more