Multi-threaded UDP server
This program is a multi-threaded UDP server using POSIX threads and semaphores. The program will wait for connection of a client, spawn a new thread to execute the client's command, and then return the status value of the program back to the client. It is possible that if the packet gets lost (it uses UDP), then either the client will hang (if it never receives an ack or done packet) or the thread on the server will stay around indefinitely. The server is limited to 100 concurrent clients executing. The program is called with no command line arguments.
If you would like to have more information,