Websockets and RX
The prototype for WCF Websocket limits the number of concurrent con开发者_开发技巧nections. Even so, I'd like to play a bit with multiple clients. Probably Rx could be used to handle subscriptions. How would you do that ?
I think WCF allows you to change the maximum number of connections: http://msdn.microsoft.com/en-us/library/system.servicemodel.nettcpbinding.maxconnections.aspx
If you're using NetTcpBinding then you can just set the maximum number of connections:
int maxNumConnections = 100;
// Set the maximum number of connections for your tcp binding
binding.MaxConnections = maxNumConnections;
精彩评论