The server will set up as a server and establish a socket connection using a port
number passed in as an argument to the program. For example, the server and
client code may be executed as follows: ./server <svr_port>
The server will print out a usage statement and terminate the program if the user
does not enter the command with the port as the command-line argument.
• The server will support up to and including 10 “registered” client connections
(registration is done with the JOIN command). Although more than 10 clients can
connect to the server, no more than 10 clients may be registered in the database at
the same time. In the case of more than 10 clients attempting to register, the server
will print out an error message and simply close the connection. Note that clients
may come and go as they please, so if, for example, the 10th client “leaves” the
service, space is now made available for another client to register.
• The server will set up a network socket (i.e., AF_INET) over TCP (i.e.,
SOCK_STREAM) using the port number passed in as an argument to the program.
o The server will bind and listen to the port specified as a command-line argument.
When a client connects, a new thread will be spawned to handle the socket using
POSIX threads (i.e., pthreads) in Linux.
o The server will support the following case-sensitive commands which are all sent
as plain ASCII text:
7 freelancers are bidding on average $34 for this job
Hi, I read your project description .I had around 2 years experience in c programming, Linux and I have hands on experience in TCP ,UDP socket programming. I hope that I can complete your project on time.
Hi I have done similar projects before for socket programming and I can help you in completing this in few hours time. We can discuss further if you want, even budget as well
Hi, I would like to participate in your project and help you complete the tasks with the requirements you request. I have knowledge of c++ and c, as well as the experience of an employee using these languages.