Add features to a TCP server in c

Completed Posted 4 years ago Paid on delivery
Completed Paid on delivery

Hello, I got my 2 files (client.c and server.c). I am able to connect a client to the server but I want to add features:

For the server:

- When a client joins the server, the server prompt should print the socket descriptor that has joined. e.g. "Client has joined: 5"

- The server should print out all messages it receives from each of the clients.

- The server will execute each message that it receives from a client. (i.e. When a client receives a message, it will fork() a new process and run the 'system' to try to run that command on the server.)

For the client:

- A client may send as many messages to the server as it likes once it has connected.

- A client socket should leave the server when the user types 'exit' in the prompt.

(When a client leaves the server, the server should still persist waiting on other client)

C Programming Linux Software Architecture

Project ID: #19228192

About the project

5 proposals Remote project Active 4 years ago

Awarded to:

vano101

Hello I have over 17 years of experience with C++ and I have Linux Virtual machine for testing. It's possible to complete your project in less than couple of hours of pure working time

$25 USD in 1 day
(1499 Reviews)
7.9

5 freelancers are bidding on average $29 for this job

kipdev13

Hello, I have read your requirement very carefully. I have experiences for many years about C++ and C# programming. I have best skills in socket C++ and C# developing. I have done your proposal quickly and then u w More

$30 USD in 1 day
(88 Reviews)
6.2
zhangbaofeng168

Hello Friend, I have read you project requirements.I am familiar with your required technologies and I have expertise resource to start with your project. I have 5+ year experience in design and development of embedd More

$30 USD in 1 day
(8 Reviews)
3.8
shinexia

More than 10 years' experience on software development. * Familiar with most backend programming languages, including but not limited to: Go, C++, Java, Python and JavaScript. * Have much experience on building distr More

$25 USD in 1 day
(1 Review)
0.8
techlinesols6

"Hi, Hope you are doing well! Thanks for sharing your project requirement with us. It will be our great pleasure to work on your project. I have checked your requirement, yes we can do it, because we already work on si More

$34 USD in 7 days
(7 Reviews)
2.8