2019 Computer Networks Programming Assignment
- Execution environment: Ubuntu (Linux) 18.x
$ ./client
- Programming language: c++
- Required files: client executable file
- Compilation method:
- First, make sure that the current directory contains: main.cpp, client.cpp, client.h, ui.cpp, ui.h, Makefile these six files
- Ensure the environment is in Ubuntu (Linux) 18.x
- Execute:
$ make all
- Execution process:
- Execute:
$ ./client
-
You can operate the selection position with W and S keys
-
You can start typing and confirm input through enter
-
After completing the input, select LOGIN and press enter to start login
-
Select LOGOUT to log out the account
-
Select EXIT to end the program
- Execution environment: Ubuntu(Linux) 18.x
$ ./server <port_num>
- Programming language: c++
- Required files: server executable file
- Compilation method:
- First, make sure that the current directory contains: main.cpp, server.cpp, server.h, ui.cpp, threadpool.h, Makefile these six files
- Ensure the environment is in Ubuntu (Linux) 18.x
- Execute:
$ make all
- Execution process:
- Execution: assuming port is set to 5000
$ ./server 5000
-
The registered list will be listed under Account List
-
The current online list will be listed under Online List
-
The past Server prompt messages will be displayed under Server Log
- Interaction message format: same as in the Programming Assignment explanation document