Question

I am searching for the max. limit for the property maxConnections for a binding used with netTcpBinding?

Was it helpful?

Solution 2

From MSDN: NetTcpBinding.MaxConnections Property, the type is Int32, so the maximum value will be 2,147,483,647, as others have said.

The default value is 10.

Realistically, I wouldn't expect a maximum setting in this property to be used in a service or client, but if you need something more than 10 you have plenty of room.

OTHER TIPS

Simple:

 Int32.MaxValue =2,147,483,647

Get with this code:

   int maxConnections = binding.MaxConnections;

I am not sure whether this answer your question, i have got something similar to your question

see here High MaxConnections value and Out of Memory Exception

"MaxConnections has to do with the total number of open connections on the service, regardless if the service is executing anything for the connection."

the MAX value differs from system to system depending upon it's capacity and maybe OS as well.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top