{"id":13743744,"url":"https://github.com/wouterverweirder/AIR-Server","last_synced_at":"2025-05-09T01:31:49.690Z","repository":{"id":4543498,"uuid":"5684093","full_name":"wouterverweirder/AIR-Server","owner":"wouterverweirder","description":"Socket Server library for Adobe AIR","archived":false,"fork":false,"pushed_at":"2013-03-14T13:52:11.000Z","size":5174,"stargazers_count":47,"open_issues_count":1,"forks_count":22,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-11-15T14:35:51.482Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wouterverweirder.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":"2012-09-05T07:50:54.000Z","updated_at":"2023-11-17T15:33:10.000Z","dependencies_parsed_at":"2022-09-05T14:31:27.936Z","dependency_job_id":null,"html_url":"https://github.com/wouterverweirder/AIR-Server","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/wouterverweirder%2FAIR-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wouterverweirder%2FAIR-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wouterverweirder%2FAIR-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wouterverweirder%2FAIR-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wouterverweirder","download_url":"https://codeload.github.com/wouterverweirder/AIR-Server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253174364,"owners_count":21865852,"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:56.186Z","updated_at":"2025-05-09T01:31:44.680Z","avatar_url":"https://github.com/wouterverweirder.png","language":"ActionScript","funding_links":[],"categories":["Networking"],"sub_categories":["Sockets"],"readme":"# AIR Server\n\nAIR Server is a library to create socket servers in Adobe AIR for desktop applications. Some of the features are:\n\n* \tMultiple clients\n* \tListen on multiple ports\n* \tRegular text-sockets\n* \tWebsockets\n* \tUDP traffic\n* \tP2P traffic\n* \tAMF Encoding over sockets\n* \tMulti-part image data\n\n##example code\n\n\tvar server:AIRServer = new AIRServer();\n\t\n\tserver.addEndPoint(\n\t\tnew SocketEndPoint(\n\t\t\t1234,\n\t\t\tnew AMFSocketClientHandlerFactory()\n\t\t)\n\t);\n\t\n\tserver.addEventListener(AIRServerEvent.CLIENT_ADDED,\n\t\tclientAddedHandler);\n\t\t\t\tserver.addEventListener(AIRServerEvent.CLIENT_REMOVED,\n\t\tclientRemovedHandler);\n\t\t\t\tserver.addEventListener(MessageReceivedEvent.MESSAGE_RECEIVED,\n\t\tmessageReceivedHandler);\n\t\t\n\tfunction clientAddedHandler(event:AIRServerEvent):void\n\t{\n\t\ttrace(\"Client added: \" + event.client.id + \"\\n\");\n\t}\n\t\t\t\n\tfunction clientRemovedHandler(event:AIRServerEvent):void\n\t{\n\t\ttrace(\"Client removed: \" + event.client.id + \"\\n\");\n\t}\n\t\n\tfunction messageReceivedHandler(event:MessageReceivedEvent):void\n\t{\n\t\ttrace(\"\u003cclient\" + event.message.senderId + \"\u003e \" + \n\t\t\t\tevent.message.data + \"\\n\");\n\t}","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwouterverweirder%2FAIR-Server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwouterverweirder%2FAIR-Server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwouterverweirder%2FAIR-Server/lists"}