W3C home > Mailing lists > Public > public-svg-ig@w3.org > July to September 2008

sockets

From: Jonathan Chetwynd <j.chetwynd@btinternet.com>
Date: Fri, 5 Sep 2008 23:17:44 +0100
Message-Id: <3A3476E4-1E7D-4702-87D1-07AE4410FB54@btinternet.com>
To: public-svg-ig@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 14 April 2009 16:29:30 GMT