Help with server client chat system

request

create a chat system in linux where a user type smth and all the other users connected to server get the message.then a user have to create join leave or delete a channel of chat if he created it.i did the server and the client but i dont know how to implemt the chat rooms.i was thinking of 1 list but i dont know well.i dont know a lot of C.i programm in java.

i already wrote code for server and client and everything works but i don't know how to create a chat room.can i use pipes or smth else'

  1. Sapienza universita di roma,rome, italy course of operative system,socket programming

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.