W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2010

[whatwg] Real-time networking in web applications and games

From: Mark Frohnmayer <mark.frohnmayer@gmail.com>
Date: Mon, 22 Mar 2010 18:10:20 -0700
Message-ID: <bd73083b1003221810y12cb103nfb92dc6997af1ac8@mail.gmail.com>
Hi all,

I am currently engaged by InstantAction to develop a minimum-footprint
web API prototype plugin for real-time networked games.  The purpose
of this work is to propose to this standards process a path for
real-time networked client/server and peer-to-peer games and
applications to live as first-class citizens in the browser app

This work has involved separating the lightweight UDP-based connection
protocol from IA's Torque game technologies into a standalone C API
(torque_sockets), and the first drafting of the TorqueSocket
interface, patterned after the WebSocket interface from Google.  Where
WebSocket allows for a persistent TCP connection to a remote host,
TorqueSocket enables in its essence  "connected UDP" connections to a
remote host as well as peer-introduced connections.

The first draft of the TorqueSocket specification can be found here:
, which includes the high level requirements, a proposed API spec and
some details on the connection handshake and wire protocol.

The torque_sockets C API definition can be found here:

I was pointed in the spec to
and also noticed section Peer-to-peer connections -- both
look like they are works-in-progress.  Is anyone actively working on
this functionality in the HTML5 spec?  Any feedback about TorqueSocket
and the approach would be welcome.

Received on Monday, 22 March 2010 18:10:20 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:21 UTC