Host | Port Number | Local IP Address |
---|---|---|
Server / Client #1 | [XXXXX] | [X.X.X.X] |
Client #2 | [XXXXX] | [X.X.X.X] |
The following input input may be used to test the server / client program.
Place server
directory on server.
./server <server port>
For example: ./server 51000
Place client directory on client 1 and run the client1
executable.
./client1 <remote client2 IP> <server port> <client1 port> <client2 port> <CPU threshold>
For example: ./client1 192.168.100.152 51000 52000 53000 13
Place client directory on client 2 and run the client2
executable.
./client2 <remote client2 IP> <server port> <client1 port> <client2 port> <CPU threshold>
For example: ./client2 192.168.100.217 51000 52000 53000 13
- census-counter/
- server/
- Makefile
- svrMajor2.c
- client/
- Makefile
- cliMajor2.c
- docs/
- major2-instructions-with-samples.pdf
- README.md
- server/
- ~/census-counter/
- server/
- Makefile
- svrMajor2.c
- client11/
- Makefile
- cliMajor2.c
- server/
- ~/census-counter/
- client2/
- Makefile
- cliMajor2.c
- client2/