A Simple chat application using socket in c programming language
Compile both server.c and client.c file
if you are on a same pc you can open server and client file on 2 dfferent terminal
if you are connected on a network you can connect using the ip of the network
First start the server using this ./server on one terminal
0 - 1024 port are reserved for system use any other port instead of these and run the client file using ./client <127.0.0.1/ip_of_network> portno