I'm just starting out in C/C++, and I want to make a simple socket server script.
It will be compiled on mac/linux and executed from terminal.
Just want a simple script that will:
- allow multiple clients to connect to the server on a specified port (they will be using telnet)
- when a client sends a message it is printed on the server screen and then echoed to all connected clients
I've read through a few tutorials and they're all over complicated. Can anyone point me in the right direction?
cheers