A simple command line chat client and server written in C.
First clone the repository with git clone https://github.com/ansermino/consoleChat.
Run make from inside consoleChat/server. By default make will set the port number to 59248. To specify the port for incoming connections run make PORT=#### where #### is your desired port number.
Run make from inside consoleChat/client. By default make will set the port number to 59248. To specify the port of the server run make PORT=#### where #### is your desired port number.
Run consoleChat/chat_server.
Run consoleChat/chat_client 127.0.0.1. Replace 127.0.0.1 with the servers IP address.