项目作者: furkankayar

项目描述 :
Chat application written in C.
高级语言: C
项目地址: git://github.com/furkankayar/DEUCHAT.git
创建时间: 2020-01-21T12:29:34Z
项目社区:https://github.com/furkankayar/DEUCHAT

开源协议:MIT License

下载


DEUCHAT

GitHub 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.