开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜