Re: SVG 1.2 Raw Socket impl. in JavaScript

At 07:21 AM 3/16/2004 -0800, Jan-Klaas Kollhof wrote:

>Hi all,
>
>I really like the plans for having sockets in SVG1.2
>
>I set down and implemented 17.8.2 Raw Socket
>Connections in JavaScript using Java Sockets inside
>Batik.
>
>I updated my SVG IRC client to use it and it works.
>It still has some issues and missing parts in the
>impl.
>I just wanted to see how it would work and how usable
>the interfaces are.
>
>Here the IRC client:
>http://jan.kollhof.net/projects/svg/examples/irc/chat.svg
>
>And here a simple SVG using the network connection:
>http://jan.kollhof.net/projects/svg/examples/svgnet.svg
>
>Here the impl.(it's documented a little):
>http://jan.kollhof.net/jsolait/ext/svgnet.js
>
>You will need Batik to have it work.
>
>The following events I think are needed:
>data arrived,
>connected,
>disconnected,
>
>Other than that I think it's quite usable.
>I still would like to be able to have a sync
>connection in addition to the async one.

The problem with it is that you really need multithreading to do sync reads 
without locking the UI. ECMAScript lacks it and Java has its own socket 
APIs already.


>Another thing is a secure connections.
>It would be realy nice to have some security layer
>between the raw TCP socket and the connection object.

Yes, it would be nice.

Peter


>Jan
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Mail - More reliable, more storage, less spam
>http://mail.yahoo.com

Received on Tuesday, 16 March 2004 13:11:59 UTC