Hi all,
I have written a TCP server in C, which will wait for any client to connect and when connected will start streaming data.
Issue i am facing
after a sucessful connection with client, if any breach in connection occurs the program exits. and i have to start the program all again
How can i write the program torun the server continuosly, and restart itself every time the client gets disconnected due to any reason?