Skip to content
Snippets Groups Projects
user avatar
rojas authored
71f4b4d7
History
user avatar 71f4b4d7

Rene Romero Homework 2


Description

Modification to TCPExample4 to show the Message of the day (MOTD), depending on the day of the week.

The server side sets up a server listening for incoming connectios.

When a client attempts a connection to the server, it sends the day of the week for the current connection, based on the client's day.

Once received the day of the week, the server reply with a message according to the day of the week.

Phrases taken from: https://www.divein.com/everyday/monday-motivation-quotes/

Message of the day reference: https://en.wikipedia.org/wiki/Message_of_the_day