Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 672 Bytes

README.md

File metadata and controls

20 lines (18 loc) · 672 Bytes

Chat-server-in-C

A SIMPLE CHAT SERVER IN C USING THREAD

BEFORE COMPILING THE PROGRAM

  1. Make sure that the server IP is correct in the client.c program.
  2. Make sure the network ID of the server and client should be same and host ID should different in the IP.
  3. Make sure that the port number of client and server are same.

COMPILING THE PROGRAM

Run these command in the project root directory one by one:

  1. make
  2. ./server
  3. ./client

WHILE EXECUTING THE PROGRAM

  • Dont forcefully terminate the program by using ctrl+c or ctrl+z.