Skip to content

rahulgandhi/Chat-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chatting application using C.


Compilation:

1)compile the server
	gcc server.c -o server

2)compile the client
	gcc client.c -o client

By default, the server is started at address 127.0.0.1 and port 4950


Executing:

1) Run the server by ./server
2) Run the client by ./client

Commands:
1) list<space> : will show the list of connected users. The space after "list" is important, otherwise the client will go into an infinite loop. (Currently a bug)
2) <user_name> <message> : user_name as in the list. message is whatever you want to send to the user.


Bugs:
1) The "list" command requires a space. i.e. "list "

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages