3 ms·
Sorry when I said scale, I mean.. scale to real world usage. Websockets run over TCP so if you're on a bad connection, packets have to be re-sent, meaning real
by crucio 9y ago
Sorry when I said scale, I mean.. scale to real world usage. Websockets run over TCP so if you're on a bad connection, packets have to be re-sent, meaning real time gaming becomes very very difficult to implement.
TCP/websockets are good for slower paced games like point and clicks but they don't normally work well for fasted paced games with physics.
WebRTC data channels don't have to re-send lost packets (unlike WebSockets), so if you do WebRTC between client and server it will unlock a new genre of games for the web!