3 ms·
I'm curious to know how networking behaves in a webgl build. Will my tcp sockets just work straight out of the box? That would be seriously impressive!
by Cakez0r 13y ago
I'm curious to know how networking behaves in a webgl build. Will my tcp sockets just work straight out of the box? That would be seriously impressive!
- RyanZAG 13y agoThey won't, but changing your server to accept websocket instead shouldn't be too bad.
- TazeTSchnitzel 13y agoDon't even need to do that. There are a bunch of TCP-WebSocket bridges out there.
- soapdog 13y agoEven though you can go with websockets or a tcp-websockets bridge, Mozilla has a proposal for TCP Sockets API in JavaScript. Its being used in Firefox OS right now and is quite cool. More info at: https://developer.mozilla.org/en-US/docs/WebAPI/TCP_Socket https://developer.mozilla.org/en-US/docs/WebAPI/TCP_Socket In the future this could become a standard and everyone would benefit.