Completed

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

See more: java socket programming request text file server, tcp socket programming upload file server, send text file server client tcp socket programming, tcp socket programming, tcp socket programming fork, tcp socket programming print, code tcp socket programming, full duplex tcp socket programming, tcp client server socket programming linux, tcp ip code socket programming, tcp ip socket programming, tcp socket programming multiple clients client , tcp multiple socket programming, socket programming tcp delay, tcp socket programming duplex, socket programming program tcp, chat application tcp socket programming username password, tcp socket programming stop wait protocol program

About the Employer:
( 0 reviews ) Denton, Canada

Project ID: #24812701

Awarded to:

anjaan737

Hello sir, I read your requirements carefully and i would like to work with you. I am confident to do your task. I am expert in c, c++, multi threaded and socket programming. let's initiate chat for further process. More

$15 USD in 3 days
(0 Reviews)
0.0

9 freelancers are bidding on average $32 for this job

umairsadiqm

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)
2.4
jaydeepbhatia91

Hello I have worked on similar projects , please initiate a chat so we can discuss more. Thanks and awaiting response.

$40 USD in 2 days
(2 Reviews)
2.5
KarthikRaju123

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
(2 Reviews)
2.3
digicomsolution1

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
(1 Review)
0.0
irfan1524

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)
0.0
danleones0

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)
0.0
BabarKhan30

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)
0.0
raza521

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)
0.0