C Programming Chat Room

Completed Posted Dec 4, 2002 Paid on delivery
Completed Paid on delivery

Goal Improve the design of the chat client and server provided, and extend its abilities by adding the ability to create and join rooms. Details Your task is twofold. First, as discussed in class, the design of the server and client programs isn’t the most efficient, as the client uses two processes, and the server uses two processes per client, for communication via sockets. It is more efficient to use one process to talk to the socket, and use a signal handler to listen to the socket. So, your first task is to redesign both the client and server programs to use one process per socket, and set up a signal handler to listen to the socket (you may need to read up in the man pages about how to do this). The second part of the task is to allow the creation of rooms. Currently, there is only one “room??, and all chatters are placed there. The client should add two commands: /join and /part, which place someone in a room, or removes them from the room, respectively. Note that a person can be in only one room at a time, so a join removes them from the room they’re currently in. Assume that on first connection, a person is placed in a “lobby?? (a room with no name), and /part puts them back in the lobby. General communications from a client should be broadcast only to people in the room. Private messages go to whomever the message was intended. System messages about people (x has entered/left/changed his nick) should go to the room where said person is. What to turn in Turn in your source code.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

This program is for a UNIX class written in C code. Attached are two txt. files that need modified in order to meet the specifications listed above.

## Deadline information

Need the source code emailed by Friday December 6th, 2003

C Programming Engineering Linux MySQL PHP Software Architecture Software Testing UNIX

Project ID: #2889494

About the project

Remote project Active Dec 4, 2002

Awarded to:

javoreu

See private message.

$42.5 USD in 14 days
(37 Reviews)
3.7