Summary
This is a project to practice some io and networking features in ruby. The server needs to be running at all times for everything to work. This has the benefit that the client computers dont need to have this source code on their computer too, they just need netcat or some alternative to connect to your service.
The chat function is designed to let users know when a new user has joined the chat. The user is added to the connected_clients array and a message is sent to the rest of the users. The chat function can also be used to tell the other users that a user has left.
If you would like to connect to it from outside your lan you will need to setup port forwarding on your router aswell as get a static ip from your isp. Also please make sure the server is running before trying to connect. If you have any issues i will be in the ruby chat.