Re:High Performance Networking in Google Chrome
by kinlan on Thursday January 31, 2013 @12:23AM
(#5143615)
I coded that demo, it is not the Chrome Socket API that is the problem, it is that I don't error properly in the code and it blocks the port like any socket server would.
Re:High Performance Networking in Google Chrome
by est on Thursday January 31, 2013 @04:41AM
(#5144226)
Thanks for the demo
How to catch that error? There's no exception callback in the doc
http://developer.chrome.com/apps/socket.html
And if the port is already blocked, how to recover?
https://code.google.com/p/chromium/issues/detail?id=170595
the chrome.socket API is really awesome, it can listen to tcp/udp connections, works like a mini NodeJS. It's a shame they didn't make it more stable.