Sockets

Jan 18, 2006

Is there such thing as Javascript sockets? I mean, I need it to connect to see if the username is available to an external source - if you get me.

If they do exist, could someone give me an example or point me in the correct direction please?

View 8 Replies


ADVERTISEMENT

Sockets And Javascript

Jun 10, 2006

I know Javascript has no methods to directly open sockets. Since that
is not possible, I was wondering if anyone knows of a Java applet
somewhere that does this that can can be instantiated in JS. This would
be running on a Windows client under IE or Firefox.

View 5 Replies View Related

Javax.net.ssl Sockets And OKing Self-signed Certificates

Sep 6, 2007

I would dearly love a server with a "self-signed certificate" to be
accessible by my javax.net.ssl.startHandshake() but it seems to consistently
crap-out with a failure :-( Look I've only ever tested the client code
(please see below) with a https server (just to see if everything was
kosher) and it maybe something I'm doing wrong. I just couldn't find
anything in the handshake listener that controlled self-cert. Code:

View 2 Replies View Related

AJAX :: Web Sockets Connection - Error: "INVALID_STATE_ERR: DOM Exception 11"

Jun 10, 2010

Ive tried several approaches and even copy/pasted from [URL] Im using Google Chrome 5.0.375.70 beta and the error is always the same: Error: INVALID_STATE_ERR: DOM Exception 11 when debugging the client side I see the readyState is always 0 (connecting), no other error is shown. The server is set to output anything that it receives and in this case it doesnt seem to be getting anything. Checked firewalls and that shouldnt be a problem. Its worth noticing that one time it did connect, and I was able to "chat" with the server, refreshed the browser and never again, restarted the server and nothing. I havent made any change in the code prior to the refresh so really dont know what could be it...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved