Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/furkankayar/deuchat

Chat application written in C.
https://github.com/furkankayar/deuchat

arpanet c clanguage client cprogramming multithreaded multithreading pthread server socket termios

Last synced: 24 days ago
JSON representation

Chat application written in C.

Awesome Lists containing this project

README

        

# DEUCHAT
[![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/furkankayar/DEUCHAT/blob/master/LICENSE)


DEUCHAT is a chat application written in C Language.

server.c handles requests coming from clients. It is multithreaded program.
Compile: gcc -pthread server.c -o server.o

client.c is client program. Sends requests to server.
Compile: gcc -pthread client.c -o client.o

Recommended gcc: 9.2.1

Commands:


  • -list: Lists the currently available rooms with the name of the customers in it.

  • -create room_name: Creates a new specified room. Not more than one room with the same name.

  • -pcreate room_name: Creates a new specified private room. This type of room has been protected with password.

  • -enter room_name: Enter to the specified room.

  • -quit: Quit from the room that you are in. You come back to the common area.

  • -msg message_body: Sends a message to room that you are in.

  • -whoami: Shows your own nickname information.

  • -exit: Exit the program.