dotnet / dotnet/wcf

where is NetTcpBinding.MaxConnections in System.ServiceModel.NetTcp ?

Open
#4,855 2 comments 0 reactions 0 assignees View on GitHub
customer assistance
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

**Describe the bug**
1) in .net framework , can
var binding = new NetTcpBinding(SecurityMode.None)
{
// can share TCP connection
MaxConnections = 4096,
}

2) but in System.ServiceModel.NetTcp , NetTcpBinding.MaxConnections not exists.

so in high concurrence case . after 1-3 minutes, throw exception

System.ServiceModel.EndpointNotFoundException: 找不到主机 10.188.10.11 的任何 IPEndpoints

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.