/SocketsChat

Simple chat on sockets

Primary LanguageC

Socket Chat

This is a simple chat on sockets with multithreading. I develop it to better understand them

Getting started

Requirements

To compile and run this project, you will need:

  • GNU GCC
  • Linux operating system
  • GNU make

Running the code

Simply use the following commands in a terminal:

git clone https://github.com/AnyKeyShik/SocketsChat.git
cd SocketsChat
make all
./build/server <port_for_binding>
./build/client <host_for_connect> <port_on_host>

Usage

Compile and run server and specifying the port on which it should work. Then run client with server's host ip and port. Enjoy!