{"id":13743722,"url":"https://github.com/ascorbic/socket-io-actionscript","last_synced_at":"2026-01-07T12:05:11.031Z","repository":{"id":1215198,"uuid":"1131653","full_name":"ascorbic/socket-io-actionscript","owner":"ascorbic","description":"Socket.IO Actionscript 3 client","archived":false,"fork":false,"pushed_at":"2010-12-02T10:55:38.000Z","size":335,"stargazers_count":35,"open_issues_count":0,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-02T04:24:49.411Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"CulturalMe/meteor-slingshot","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ascorbic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-12-02T10:50:51.000Z","updated_at":"2022-10-02T06:04:50.000Z","dependencies_parsed_at":"2022-07-06T12:33:49.999Z","dependency_job_id":null,"html_url":"https://github.com/ascorbic/socket-io-actionscript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascorbic%2Fsocket-io-actionscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascorbic%2Fsocket-io-actionscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascorbic%2Fsocket-io-actionscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascorbic%2Fsocket-io-actionscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ascorbic","download_url":"https://codeload.github.com/ascorbic/socket-io-actionscript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245960817,"owners_count":20700781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:00:55.649Z","updated_at":"2026-01-07T12:05:11.025Z","avatar_url":"https://github.com/ascorbic.png","language":"ActionScript","readme":"socket.io Actionscript client\n============================\n#### By Matt Kane\n\nThis is a client for [socket.io](https://github.com/LearnBoost/Socket.IO/) implemented in Actionscript 3. It allows you to connect to the socket server from your Adobe AIR/Flex application. I've tested it in AIR but it should probably work in regular Flex, subject to crossdomain policies.\n\n### Usage\nI've tried to follow the same API as the socket.io javascript client. This is a simple example of connecting to a socket.\n\n    socket = new SocketIo(\"127.0.0.1\", {port: 8080});\n    socket.addEventListener(IoDataEvent.DATA, function(e:IoDataEvent):void {\n        trace(e.messageData);\n    });\n    socket.connect();\n    socket.send(\"Hi!\");\n \nFor a full example, look at Example.mxml, which is a Flex/AIR port of the socket.io chat demo. You'll need to be running the chat demo server for this to work. See the main socket.io project for details of this.\n\nCompile and run it like so:\n\n    amxmlc Example.mxml\n    adl example.xml\n    \n### Requirements\nObviously, you'll need the Flex and/or AIR SDK. You also need a couple of libraries.\n\n+ [as3corelib](https://github.com/mikechambers/as3corelib)\n+ [as3crypto](http://code.google.com/p/as3crypto/)\n\nInstall these either as compiled .swcs in your flex library folder, or as source in this folder.\n\n### Bugs and contributions\nIf you have a patch, fork the Github repo and send me a pull request. Submit bug reports on GitHub, please. \n\n\n### Credits\n\nBy [Matt Kane](https://github.com/ascorbic)\n\n### License \n\n(The MIT License)\n\nCopyright (c) 2010 [CLEVR Ltd](http://www.clevr.ltd.uk/)\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nIncludes code from [web-socket-js](https://github.com/gimite/web-socket-js/) Copyright (c) Hiroshi Ichikawa\nAlso includes code derived from [socket.io](https://github.com/LearnBoost/Socket.IO/) Copyright (c) 2010 LearnBoost","funding_links":[],"categories":["Networking"],"sub_categories":["Sockets"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fascorbic%2Fsocket-io-actionscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fascorbic%2Fsocket-io-actionscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fascorbic%2Fsocket-io-actionscript/lists"}