A simple peer-to-peer chat application using TCP in C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
src
README.md

README.md

CTalk

A simple peer-to-peer chat application using TCP in C

Index

  1. Requisites
  2. Installation
  3. Usage
  4. Technology Used
  5. Testing

Requisites

  • Linux (Tested on Ubuntu-14.04)
  • Working gcc
    • To check gcc is working
      1. Open a terminal window.
      2. Run "gcc".
      3. If it identifies the command, everything is perfect.

Installation

  1. Download the files of this repository
  2. Compile Instructions
    1. gcc server.c -o server -lpthread
    2. gcc client.c -o client -lpthread

Usage

  1. Run one instance of server (./server)
  2. Run multiple instances of client (./client)
  3. wait for connection in one client
  4. conenct to the above client from other client
  5. Start chatting, send end to end the chat

Technology Used

  • C language

Testing

The program has been tested on Ubuntu14.04, 64-bit

For Hugs and Bugs drop a mail at asimkprasad@gmail.com