Server Script
Basic Functionality (TL;DR)
Take a given Excel file in the right format and distribute its data to required clients.
Technical Details
Connections
-
Server should accept client connections and store the socket objects ready for reading. -
Clients will send their known networks to the server, the server will store them in memory for use later. -
Server will then send an ACK-esk message. -
When the server gets data to send, it will send it to the correct clients and they will report back their status. -
respond to keep-alives
File updates
-
Script should either poll the filesystem or wait for console input to signify that the file has been created/modified. (to be expanded in Phase 2) -
Once the file is obtained it should be parsed and data distributed to correct clients (see above). If file is unreadable then notify user/admin