/Alpha-Chat

A chatroom in C made using Berkley Sockets

Primary LanguageC

AlphaChat

Setup

  1. Clone this repository and cd into it
$ git clone https://github.com/alphadose/Alpha-Chat

$ cd Alpha-Chat && make help
Alpha-Chat: A chat ecosystem built purely in C

* server: Build the server
* client: Build the client
* all:    Build the server and client
* clean:  Remove project binaries
  1. Build project binaries
$ make all
* Building Server
* Building Client
* Done

Hosting the Chat-Server

$ ./server <port>
Starting server.
Waiting for incoming connections...

Connecting to the Chat-Server via Client

$ ./client <ip_address_of_server> <port>

Cleaning binaries

$ make clean
* Done