javascript - Why does one C# application have a limit of '6' WebBrowser pages with sockets.io? How to increase it? -
whenever use webbrowser
component in single c# winforms application more 6 times (7, 8, ...) next pages cannot execute javascript (to exact, sockets.io).
when launch application twice can open total of 12 pages (6 per app). 3 times 6 18.. , on. why can't c# offer more 6 pages @ same time in 1 c# application? when 6th page opened , sockets.io being used javascript webbrowser
component shows javascript execution errors, , asks if want continue.
note, have nothing website being accessed application. website can website, on socket.io websites happens.
how can fix this?
example code:
list<webbrowser> browsers; browsers = new list<webbrowser>(); for(int = 0; < 10; ++i) { webbrowser browser = new webbrowser(); browsers.add(browser); browser.navigate("http://some.website-that-uses-sockets.io/"); //show in tabs control or new browser tabs }
when running on websites initiate sockets.io connection, after 6th page has been succesfully loaded, sockets.io won't work anymore. if limit maximum pages sockets.io 6 per single application works, making total of more 6? why this?
i'm experiencing on windows 10 x64 visual studio 2015 , .net 4.6 if matters.
i tried open website in 10 tabs on ie. works fine.
Comments
Post a Comment