socket programming

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:

Skills: C Programming, Socket IO, Linux

About the Client:
( 1 review ) Denton, Canada

Project ID: #24812701

7 freelancers are bidding on average $34 for this job


Alert: I will give you 20% discount on my bid rate also give on my All Services. So grabs this special offer is limited. Let’s get to the point. I am an highly experienced freelancer . I am offering services in Ardu More

$10 USD in 1 day
(8 Reviews)

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.

$20 USD in 2 days
(3 Reviews)

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

$30 USD in 1 day
(2 Reviews)

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.

$15 USD in 3 days
(0 Reviews)

Hi. I think I apply this job for the following reasons: 1) I have C programming experience. Even I've done this kind of work before using sockets, Linux-style command line and threads. I think I could it fast. The h More

$30 USD in 7 days
(0 Reviews)

Hi there! You need a person to do socket programming and I had worked over it many times. I can do this task of your and built a server through command line which will be running over a specific IP and port. The clien More

$100 USD in 4 days
(0 Reviews)

Interested! and capable of completing the required project within the given time frame. I have experience of such projects.

$30 USD in 7 days
(0 Reviews)