Simple Python network script (TCP Client/Server)
Budget: $250 – $750 CAD
I would need a Python network TCP server script and TCP client script working together.
Upon receipt of a connection, it must send the client its IP address (client IP). Then he must wait for the customer orders.
Valid commands are "TIME", "IP", "OS" and "EXIT".
On order TIME, the server should return the current time.
At the IP command, it returns the IP address of the client.
At the "OS" command, the server returns information about the operating system.
To the "File" command, the server sends a dummy file to the client.
If the client closes the connection or does not respond with a command within a reasonable time (20 seconds), the server must close the current connection and wait for another connection.
At the EXIT command, your server should close all open sockets and exit.
Upon receipt of a connection, it must send the client its IP address (client IP). Then he must wait for the customer orders.
Valid commands are "TIME", "IP", "OS" and "EXIT".
On order TIME, the server should return the current time.
At the IP command, it returns the IP address of the client.
At the "OS" command, the server returns information about the operating system.
To the "File" command, the server sends a dummy file to the client.
If the client closes the connection or does not respond with a command within a reasonable time (20 seconds), the server must close the current connection and wait for another connection.
At the EXIT command, your server should close all open sockets and exit.