Question: Need help with programming in python to make a socket program to simulate the airline traffice of Alaska served by Alaskan airlines as a hub

Need help with programming in python to make a socket program to simulate the airline traffice of Alaska served by Alaskan airlines as a hub and spoke topology, in side of the program the each airport should be considered a node. with the entire system of airports be run inside of a laptop as multiple processes initiated through instances of command lines or terminals. with the airports being considered as peer with each node haing there server and client capacities to they can initiate the sending of messages, with the messages between the node representing passangers across the airports, the message contating the origin airport, destination airport, and optionally a layover airport, in addition to the passendger identifying detail named payload (which has a random string. What is supposed to happen is that by using the IATA Airport codes the airports should be initalized first then the paassengers are routed through the airport, as passed by command line input from different source airports, passengers will at most have one layover or have direct flight, where the gubs will read and interpret the message to find the destination of each passenger, determining if they are at the final destination or having a layover, thankfully there will be no flights between small airports and any flights from to outside alaska and seattle can be ignored, and limit it to a reasonable amount of nodes (more than 5 peers at the least)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!