I have written a module to do socket programming. The module resides in UNIX server. It will listen to a port and response to client request. Basically, I have completed the basic functions.
The server process will accept input from client (NT) and process the data accordingly and then write back to the client the end result.
So, I need to create some sort like a server daemon ...
First, the server process will be started. Any request from client will be served by a child process spawned from the parent process. The child process will send the end result to client upon finishing the data (input from client) processing and exit. Meanwhile the server will listen to the next request.
Pls refer any useful links / examples in order for me to achive this.