News for hackers. Stuff that matters.
Re:High Performance Networking in Google Chrome by est on Wednesday January 30, 2013 @07:19PM (#5142635)
Ot here, the network might be high performance but the socket API in Chrome need some fix.

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.

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?