My favorites | Sign in
Project Home Wiki Issues Source
jSocket Introduction
Featured, Phase-Deploy
Updated Jul 15, 2010 by aidamina

jSocket Introduction

jSocket is library that allows you to access sockets in Javascript. It uses the XMLSocket functionality in Action Script for the actual connection. The library is designed to be Object Oriented and therefor it possible to have more then one socket on a page.


This project has been released with the MIT License, you can find the actual license in the top of your jSocket javascript file and in 'license.txt' that comes with the release.


  • A browser that has a flash player version 9+.

Browser Compatibility

Currently supports Internet Explorer, Firefox, Opera and Safari.

Comment by, Apr 11, 2009

Is it possible to connect to simple java socket through this!!!

Comment by project member aidamina, Apr 28, 2010

Yes it is look at our server examples

Comment by, Jul 14, 2010

Can it be used as a bridge to get socket working with Javascript on iPhone? iPhone does not support Flash as of now. Thank you.

Comment by project member aidamina, Jul 15, 2010

jsocket requires a browser with javascript AND flash support, as the iPhone doesnt support flash it wont be able to use jsocket.

Comment by, Aug 4, 2010

I have some problems with crossdomain.... Have I to compile again the SWF with Security.loadPolicyFile("http:/mydomain/crossdomain.xml"); ?

Comment by, May 30, 2013

hi, aidamina, i use firefox debug jsocket client, when i trace into "var mySocket = new jSocket(ready,connect,data,close);", still can't fire jSocket.onReady() function, is there anything i miss? please correct me, thank.

Sign in to add a comment
Powered by Google Project Hosting