3 ms·
finally a specification for datagrams, unordered and unreliable ! This was one of the big struggles of bringing mmo to the browser. DatagramTransport seems real
by Fr33maan 6y ago
finally a specification for datagrams, unordered and unreliable ! This was one of the big struggles of bringing mmo to the browser.
DatagramTransport seems really promising as it provides encryption and congestion control which are the most complicated parts of any netcode. Good luck !
- toomim 6y agoSCTP already provides that in WebRTC.
- seangrogg 6y agoBut requires a lot of mucking around with STUN/TURN/ICE, which is far less desirable than just "send UDP packets to a browser".
- pthatcherg 6y agoYou don't need to use STUN and TURN for client->server use cases, but you do need ICE, DTLS, and SCTP.
- k__ 6y agoThis was one of the big struggles to bring anything remotely time critical to the browser. WebSockets only works for the mere basics.