sockets

anyone add more detail to the following?

http://www.w3.org/TR/2004/WD-SVG12-20041027/api.html
B.2.3 Socket Connections**

The HTML5 specification now offers WebSocket
http://www.whatwg.org/specs/web-apps/current-work/#network

really wondering whether the SVG WG is on the case, and have there  
been any implementations?
seems odd that "Flash has support for raw TCP sockets" for quite some  
time..

cheers



Jonathan Chetwynd

j.chetwynd@btinternet.com
http://www.openicon.org/

+44 (0) 20 7978 1764



**B.2.3 Socket Connections

The Connection interface provides an API for socket-level communication.
interface ConnectionEvent : events::Event // "ConnectionData" event
{
    readonly attribute DOMString data;
};

interface Connection : events::EventTarget
{
    readonly attribute boolean connected;

    void setEncoding( DOMString value ); // might be called before  
connect

    void connect( in DOMString url ) raises(DOMException)
    void send( in DOMString data );
    void close();
};

A Connection object is created using the SVGGlobal interface.

Received on Friday, 5 September 2008 22:18:31 UTC