Is it possible to write a javascript that is able to connect to a server through a socket and then exchange data with the server? I would like to write a simple chat program for my website that connects to some server application (maybe c++).
DrDoc
6:47 pm on Jun 7, 2006 (gmt 0)
You could do this in Java (write a Java Applet, for instance) ... but it cannot be done with JavaScript. Technically you could accomplish it using AJAX connecting to a server on which the socket app runs ... but that would be a security issue.