Question: 3. Socket is the first primitive called in any application; client or server. Discuss the following: (i) What is the purpose of the socket at
3. "Socket" is the first primitive called in any application; client or server. Discuss the following: (i) What is the purpose of "the socket" at the point where it is called in either the client or server application i.e. before any other primitives are called? (5 marks) (ii) After creating "the socket" in the server application it is then modified to become a "listening" socket using additional socket primitives. What modifications are required to be made to the original socket to make it a "listening" socket and what primitives are used to make these modifications? (5 marks) (iii) At some point a "connected" socket is created in the server. How does this socket differ to the "listening" socket in terms of what it is used for
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
