This program simulates a multicast server in C. The following line of code sets the number of clients accepted by the server program.
#define NC 4
Here the number of clients is set as 4. First run the server process, then run the client processes.
Click here to download the Client program.
Clcik here to download the Server Program.