1
prototype for WCF Websocket限制并发连接的数量。即便如此,我还想和多个客户一起玩。可能Rx可能被用来处理订阅。你会怎么做?Websockets和RX
prototype for WCF Websocket限制并发连接的数量。即便如此,我还想和多个客户一起玩。可能Rx可能被用来处理订阅。你会怎么做?Websockets和RX
我觉得WCF允许您更改最大连接数:如果您使用NetTcpBinding的,那么你可以只设置最大连接数http://msdn.microsoft.com/en-us/library/system.servicemodel.nettcpbinding.maxconnections.aspx
:
int maxNumConnections = 100;
// Set the maximum number of connections for your tcp binding
binding.MaxConnections = maxNumConnections;