Skip to content

Nendensu/SocketsChat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Simple chat on sockets

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 93.5%
  • Makefile 6.5%