------------------------------------------------------------------------ Mohamed G. Gouda CS 356 Spring 2020 Exercise 2 ------------------------------------------------------------------------ Consider a connectionless client-server application that has one server S and at most five clients C1, ..., C5. (a) What is the maximum number of sockets that can exist at the same time in this application? (b) What is the smallest number of sockets that can exist at the same time in this application? Explain your answer. ------------------------------------------------------------------------ Solution ------------------------------------------------------------------------ The socket of server S exists all the time. The socket of each client Ci exists only when Ci is active sending requests to S and rcving replies from S. (a) The max number of sockets that can exist at the same time is 6. (b) The smallest number of sockets that can exist at the sane time is 1. -----------------------------------------------------------------------