construct server which can deal with multi-client using kqueue()
Want to make a chat server
The server get messages from clients and send these messages to all other clients who is currently connected to this server
- You can connect to this server using netcat
-
Connect nc client to this server (Port# : 6667) 6667 is well-known TCP port number for IRC traffic
-
Check all clients can receive that messages
Currently the client who sends that message also receive identical message !
We are considering the user not to get back that message