A simple console-based chat server which demonstrates client-server model and socket programming.
$ git clone https://github.com/mocmeo/cpp-console-chat.git
$ cd cpp-console-chat
$ make all
Open another console and run the following commands on each one respectively:
$ ./server
$ ./client
- Server socket was bound to port number 1501.
- Server only accepts one single client connection.
- Enter # to end the conversation.