White Papers

Why can't I send UDP packets from a browser?

Hello readers, I’m no longer posting new content on gafferongames.com Please check out my new blog at mas-bandwidth.com! Premise In 2017 the most popular web games like agar.io are networked via WebSockets over TCP. If a UDP equivalent of WebSockets could be incorporated into browsers, it would greatly improve the networking of these games. Background Web browsers are built on top of HTTP, which is a stateless request/response protocol initially designed for serving static web pages.