[This is preliminary documentation and subject to change]

### DisableSocketPooling

This property specifies whether socket pooling is used for sites distinguished by IP address (rather than port number or host header name, for example). If DisableSocketPooling is set to FALSE, then socket pooling is enabled and sockets are shared between sites that use the same port number (but different IP addresses). If DisableSocketPooling is set to TRUE, then there is no socket sharing for sites based on IP address.

Note Socket pooling was first introduced in IIS 5.0.

In IIS version 4.0, each Web site was bound to a different IP address, which meant that each site had its own socket that was not shared with sites bound to other IP addresses. These sockets are created when the site starts, and they consume significant nonpaged memory (RAM). This memory consumption limits the number of sites bound to IP addresses that can be created on a single machine.

By default, socket pooling is enabled. In general, this behavior should not be modified. If changed, the change should be made at the site level only so that other sites can continue to take advantage of the socket pooling feature.

Attribute Name | Attribute Value
Data Type | BOOL
Attributes | INHERIT
Default Value | FALSE
MetaFlagsEx | CACHE_PROPERTY_MODIFIED
User Type | IIS_MD_UT_SERVER
StartingNumber |
EndingNumber | 0
ID | 1029

### Access Locations

This property is accessible at the following locations:

Metabase Path | IIS Admin Object Type
/LM/MSFTPSVC/Info/Templates/Public FTP Site | IIsFtpServer
/LM/MSFTPSVC | IIsFtpService
/LM/W3SVC/1 | IIsWebServer
/LM/W3SVC/2 | IIsWebServer
/LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer
/LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer
/LM/W3SVC | IIsWebService

### IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier | MD_DISABLE_SOCKET_POOLING
Data type | BOOL
User type | IIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.