-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit aa6dbce
Showing
4 changed files
with
3,975 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# CS372 Programming assignment 1 | ||
|
||
# Instructions: | ||
|
||
1) compile chatclient.c | ||
|
||
`gcc chatclient.c -o chatclient` | ||
|
||
2) Make sure chatserve has permission to execute | ||
|
||
`chmod +x chatserve` | ||
|
||
3) Run `./chatserve x` with x as the port number | ||
|
||
4) Run chatclient | ||
|
||
`./chatclient hostname port#` | ||
|
||
Hostname is hostname where chatserve is running, for example flip1. | ||
|
||
port# is the port chatserve is on. | ||
|
||
|
||
5) Enter handle name for both server and client | ||
|
||
6) chatclient must send message first. Client and server takes turns sending messages. | ||
|
||
7) To end connection, type `\quit` in either client or server. | ||
|
||
8) To exit the client or server program, press `Ctrl+C` |
Oops, something went wrong.