mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.2 KiB
3.2 KiB
Functional
Try running "./TCPChat"
.
Is the server listening for connections on the default port?
Try running "./TCPChat" 2525 localhost
.
[USAGE]: ./TCPChat $port
Did server respond with usage, as above?
Try running "./TCPChat 2525"
.
Is the server listening for connections on the port 2525?
Try opening 3 terminals, run on the first terminal the command "./TCPChat <port>"
and on the second and third terminal run the command "nc <host ip> <port>"
.
Does both clients connect to the server with success?
Try creating a server and 2 Clients.
Did the server responded with a linux logo and asked for the name?
Try creating a server and 2 Clients.
Do all Clients receive a message informing that the Client joined the chat?
Try creating a server and 2 Clients and send a message using the first Client.
Does the second Client receive the message?
Try creating a server and 1 Client and send some messages using this Client. Then create a new Client.
Can the new Client see all the previous messages?
Try creating a server and 3 Clients and send a message using the second Client.
Does all the Clients (first, second and third) received the same message?
Try creating a server and use 2 or 3 different computers and create for each computer one Client.
Did the server/Clients connected with success?
Try creating a server and 4 Clients and disconnect one of the Clients.
Does the rest of the Clients stay connected?
Try creating a server and 3 Clients and disconnect one of the Clients.
Does the rest of the Clients receive a message notifying that the Client left?
Try creating a server and 3 Clients. Then send messages between the Clients.
[2020-01-20 15:48:41][client.name]:[client.message]