Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.08 KB

README.md

File metadata and controls

38 lines (32 loc) · 1.08 KB

Chat App 👨‍💻

A simple program built to experiment with Sockets in C using TCP/IP. Users can chat back and forth via two seperate terminals on localhost until a user enters "quit", in which case the program terminates.

Getting Started

In order to get the app up and running, you will need to terminals open on your machine. Follow the instructions below.

Download Instructions

  1. Download ZIP
  2. Navigate to the diretory where you saved the project
  3. Extract the project

Running the App

  1. In both terminals, navigate to the app directory.
  2. To compile, enter the following command in one of the terminals:
make
  1. Enter the following command in the first terminal:
./chat
  1. Enter the following command in the second terminal:
./chat 127.0.0.1
  1. Both terminals are now connected. You can now chat freely!
  2. To quit the program enter the following:
quit

Demo

Contributors