Allowing Multiple Connections

Allowing only a single connection might work, especially in cases where the requests come from either a single source or at intervals that help ensure that two resources cannot compete for a connection at the same time. However, in some circumstances a single instance of a service could be used to generate requests for multiple resources. A good example of this is when you have a server that is multi-homed for several subnets, and receives requests for data from any or all of these subnets—and possibly from multiple computers or processes on each subnet. In this case, a single point connection would not be beneficial; however, you still want to limit how many connections you allow for performance reasons.

Extending ...

Get Programming Windows® Services with Microsoft® Visual Basic® 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.