I want to develop a socket program where the server program binds and
accepts on a TCP socket. After that the same server program forks() 10
children processes which in turn connect to the parent (server here)
on the TCP connection.
Now my problem is if I use accept(), the program won't go ahead and
hence wont generate child processes, until the accept() call returns.
and unless the child processes are generated, there is nobody to
connect() to the server.
I am planning to use non-blocking system calls like poll() and
select(), but I am not sure whether it ...