cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Support of the Web Socket protocol - API

From: Jamie Lokier <jamie_at_shareable.org>
Date: Tue, 4 May 2010 00:24:42 +0100

Seems like a good idea.

It probably makes sense for libcurl to behave a little like it does
with telnet, because both are bidirectional streams, but WebSocket
transmits UTF-8 string messages as the basic unit, delimited by 0xff
bytes, rather than telnet's byte stream.

Note that there's more than one version of the WebSocket draft around
at the moment, and none of them are final. I've read that draft 75 is
implemented by Chrome, draft 76 has incompatible negotiation changes
in it compared with 75, and some other browser implementor is
implementing the latest draft as of a few days ago.

-- Jamie
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-04