--------------------------------------------------------------------- Mohamed G. Gouda CS 356 Spring 2017 Exercise 5 --------------------------------------------------------------------- Consider an application server APS that is deployed on top of UDP port i in host sh. What are the steps that APS needs to execute before it starts to receive UDP segments from any application client. --------------------------------------------------------------------- Solution: --------------------------------------------------------------------- The application server APS needs to execute the following four steps: 1. APS allocates UDP port i in sh 2. APS allocates any UDP socket ss in sh 3. APS binds UDP socket ss to UDP port i in sh 4. APS adds entry (port i, socket ss) to UDP socket table in sh