[whatwg] WebSocket support in HTML5

Richard's Hotmail maher_rj at hotmail.com
Sun Sep 21 06:58:14 PDT 2008

Hi James,

Thanks for the reply.
> [1]

My appologies for only having read the first ten years of that thread :-)

Look, I'm not sure exactly what problem you guys are solving with HTML5's
WebSockets but I wish you well. What I and *many* others are looking for is
native JavaScript support for Sockets  a la mode de (SUN Java Applets +
Adobe Flex + MIcrosoft Silverlight) that for some strange reason don't seem
to be subject to the same imaginary obstacles that are being discussed in
that thread. Please explain what security vulnerabilities et al that Adobe,
SUN and Microsoft have foisted upon us that the HTML5 people wish to spare
us from.

If you guys live in a world where nothing but port 80 exists and no one with
ever want UDP datagrams (let alone Multicast messages) to their web clients
then I have come to the wrong place :-(

What goes up and down the network connection is our business not yours. No
more bollocks protocols!

As I said in the previous post, if you guys want to put a "Frame me like
ASCII" contortion interface/API on top of the JavaScript Sockets (similar to
SOAP on HTTP) then go crazy; just don't try to shackle everyone else with
the same restrictions.

Please see the following for examples of what I am talking about: -


In both cases the Username is TIER3_DEMO and the password is QUEUE.

Obviously, you can "view source" for the HTML and Javascript and the Java
Applet and MXML source can be found at

Once again, you are not introducing something new, but you *are* attempting
to introduce support for a tried and tested architecture and you are getting
it hopelessly wrong :-(

Cheers Richard Maher

----- Original Message ----- 
From: "James Graham" <jg307 at cam.ac.uk>
To: "Richard's Hotmail" <maher_rj at hotmail.com>
Cc: <whatwg at whatwg.org>
Sent: Sunday, September 21, 2008 8:46 PM
Subject: Re: [whatwg] WebSocket support in HTML5

> Richard's Hotmail wrote:
> > Hi,
> >
> > I've been told that this is the correct forum for lobbying/venting about
> > html5 changes; I hope that this is correct?
> Er, I think it is the correct forum for discussing the spec. I'm less sure
> lobbying/venting are useful forms of discussion.
> > My particular beef is with the intended WebSocket support, and
> > the restrictive nature of its implementation. I respectfully, yet
> >  suggest that the intended implementation is complete crap and you'd do
> > better to look at existing Socket support from SUN Java, Adobe Flex, and
> > Microsoft Silverlight before engraving anything into stone!
> Nothing is engraved into stone, at least until browsers ship something and
> unable to change it because it would adversely affect their marketshare.
As far
> as I am aware there are currently no browser-based implementations of
> WebSockets, so it is relatively easy to make changes.
> > What we need (and is a really great idea) is native HTML/JavaScript
> > for Sockets - What we don't need is someone re-inventing sockets 'cos
they think
> > they can do it better.
> You might find [1] helpful for understanding the rationale behind the
> WebSockets spec. If you have use cases that cannot be met with the current
> design, it would be helpful if you could explain the use case and how you
> deal with the security issues identified in that email.
> [1]
> -- 
> "Eternity's a terrible thought. I mean, where's it all going to end?"
>   -- Tom Stoppard, Rosencrantz and Guildenstern are Dead

More information about the whatwg mailing list