Specifies configuration settings for the NET.TCP Port Sharing Service, which allows multiple processes to share the same TCP port.
<configuration> <system.serviceModel.activation> <net.tcp listenBacklog="Integer" maxPendingAccepts="Integer" maxPendingConnections="Integer" receiveTimeout="TimeSpan" teredoEnabled="Boolean"> <allowAccounts> <!-- LocalSystem account --> <add securityIdentifier="S-1-5-18"/> <!-- LocalService account --> <add securityIdentifier="S-1-5-19"/> <!-- Administrators account --> <add securityIdentifier="S-1-5-20"/> <!-- Network Service account --> <add securityIdentifier="S-1-5-32-544" /> <!-- IIS_IUSRS account (Vista only)--> <add securityIdentifier="S-1-5-32-568"/> </allowAccounts> </net.tcp> </system.serviceModel.activation> </configuration>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
An integer that specifies the maximum outstanding connections that are accepted from the shared connection, but are not yet dispatched to Windows Communication Foundation (WCF) services. The default is 10.
An integer that specifies the maximum outstanding concurrent accepting threads on the listening endpoint for the sharing service. The default is 2.
The maximum number of connections that the listener can have waiting to be accepted by the application. When this quota value is exceeded, new incoming connections are dropped rather than waiting to be accepted. Connection features such as message security can cause a client to open more than one connection. Service administrators should account for these additional connections when setting this quota value. The default is 10.
A T:System.Timespan that specifies the timeout for reading the framing data and performing connection dispatching from the underlining connections. The default is "00:00:10".
A Boolean value that indicates whether the port sharing service uses Microsoft Teredo service to listen on TCP ports on behalf of WCF services. The default is false.
A collection of configuration elements that contain a securityIdentifier attribute to specify user accounts for processes that host WCF services, and are granted connection access to the sharing service.
Contains configuration settings for the listener process SMSvcHost.exe.