<net.tcp>
Specifies configuration settings for the NET.TCP Port Sharing Service, which allows multiple processes to share the same TCP port.
Schema Hierarchy
<system.serviceModel.activation>
<net.tcp>
Syntax
<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>
Type
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
listenBacklog |
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. |
maxPendingAccepts |
An integer that specifies the maximum outstanding concurrent accepting threads on the listening endpoint for the sharing service. The default is 2. |
MaxPendingConnections |
An integer that specifies the maximum outstanding connections that are accepted from the shared connection, but are not yet dispatched to WCF services. The default is 10. |
receiveTimeout |
A Timespan that specifies the timeout for reading the framing data and performing connection dispatching from the underlining connections. The default is "00:00:10". |
teredoEnabled |
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. |
Child Elements
Element | Description |
---|---|
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. |
Parent Elements
Element | Description |
---|---|
Contains configuration settings for the listener process SMSvcHost.exe. |
Remarks
For more information on port sharing, see Net.TCP Port Sharing. To understand how to configure the port sharing service, see Configuring the Net.TCP Port Sharing Service.
See Also
Reference
Other Resources
Net.TCP Port Sharing
Configuring the Net.TCP Port Sharing Service