質問

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

役に立ちましたか?

解決 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.

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top