An open API service indexing awesome lists of open source software.

https://github.com/antonio-pedro99/real-time-chat-with-socket


https://github.com/antonio-pedro99/real-time-chat-with-socket

c linux-kernel socket system-programming

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Real time chat with socket in C

I used to socket() to implement real time chat that run with two c programs.
Socket is one of the byte stream data transfers comunitation facility available in Unix like operating System. Each read operation may read an arbitrary number of bytes from the IPC facility, regardless of the size of blocks written by the writer.

I have create one socket to read and and to write.

## How to compile
run make

## How to run
run ./a.out
run ./b.out

## How to clean
run make clean

## How the program works

![Animation](https://user-images.githubusercontent.com/42675180/148405632-6f92d204-3911-4069-a334-4609889b4ea6.gif)

Credts: Antonio Pedro