-
compile chatclient.c
gcc chatclient.c -o chatclient
-
Make sure chatserve has permission to execute
chmod +x chatserve
-
Run
./chatserve x
with x as the port number -
Run chatclient
./chatclient hostname port# Hostname is hostname where chatserve is running, for example flip1. port# is the port chatserve is on.
-
Enter handle name for both server and client
-
chatclient must send message first. Client and server takes turns sending messages.
-
To end connection, type
\quit
in either client or server. -
To exit the client or server program, press
Ctrl+C
-
Notifications
You must be signed in to change notification settings - Fork 0
amac714/client-server-chat-app
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published