Friday 6 July 2012

How many processes can listen on a single TCP/IP port?

Purpose:
  • The greatest strength of the .Net framework is the richness of the Framework Class Library that abstracts away a lot of detail from a developer.
  • This question tests whether a developer has a deeper understanding of how networking works at a OS level and whether they have socket programming experience.
  • If the developer struggles with this question is may be wise to delve into the basics of network communication and typical port allocations.
  • Generally if one is going to write distributed applications a developer should at least have a working knowledge of how it works at a wire level.

Potential Answer:
Usually only one although one could write a master process that notifies others and using some type of method to distinguish between client requests.

No comments:

Post a Comment