Avoiding Common Networking MistakesWhen writing networking-based software, developers often make a few common design and usage mistakes that can cause serious performance problems, crashes, and other misbehavior. This chapter highlights a few of those mistakes and describes how to avoid or fix them. Clean Up Your ConnectionsTCP connections remain open until either the connection is explicitly clos