@@ -70,7 +70,7 @@ The server will be stored in a file called **SeqServer.py** within a folder with
...
@@ -70,7 +70,7 @@ The server will be stored in a file called **SeqServer.py** within a folder with
***Filename:** P03/SeqServer.py
***Filename:** P03/SeqServer.py
Let's start programming a server that implements the **PING command**. The client will send a message with the word **PING**; then, the server **parses** the request message so if the PING command is **detected**, it generates the response message **"OK!\\n"**. Also, it needs to **print on the console** the message "PING command!" in green, and then the response message in white.
Let's start programming a server that implements the **PING command**. The client will send a message with the word **PING**; then, the server **parses** the request message so if the PING command is **detected**, it generates the response message **"OK!\\n"**. Also, it needs to **print on the console** the message "PING command!", and then the response message in white.
For **testing the server** we can use the following command:
For **testing the server** we can use the following command: