Torsten wrote:
Is it possible to handle socket connections with
javascript?
Well if you embed a JavaScript engine into an application or framework
exposing a socket API to script then JavaScript can handle socket
connections.
If you are asking about script embedded into HTML pages served to a
browser then those browsers usually don't expose such low-level APIs to
JavaScript though with XMLHttpRequest (in Mozilla, Netscape, Firefox,
Safari 1.2, Opera 7.60) respectively Microsoft.XMLHTTP in MSIE/Win you
are able to script HTTP requests.
XUL/XPCOM in Mozilla even exposes scoket interfaces
http://xulplanet.com/references/xpco...k.html#Sockets
but I have never used them so I don't know whether they are usable from
script (in XUL applications or XUL pages served from chrome:)
--
Martin Honnen
http://JavaScript.FAQTs.com/