{"id":13743761,"url":"https://github.com/charlespalen/AS3-NTP-Implementation","last_synced_at":"2025-05-09T01:31:52.150Z","repository":{"id":7810257,"uuid":"9180917","full_name":"charlespalen/AS3-NTP-Implementation","owner":"charlespalen","description":"An Actionscript 3 Implementation of a NTP Client Using Adobe AIR","archived":false,"fork":false,"pushed_at":"2013-07-24T20:08:06.000Z","size":148,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-03T05:02:35.049Z","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/charlespalen.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":"2013-04-02T21:41:33.000Z","updated_at":"2019-05-27T14:53:30.000Z","dependencies_parsed_at":"2022-09-04T00:11:25.579Z","dependency_job_id":null,"html_url":"https://github.com/charlespalen/AS3-NTP-Implementation","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/charlespalen%2FAS3-NTP-Implementation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlespalen%2FAS3-NTP-Implementation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlespalen%2FAS3-NTP-Implementation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlespalen%2FAS3-NTP-Implementation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charlespalen","download_url":"https://codeload.github.com/charlespalen/AS3-NTP-Implementation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224796660,"owners_count":17371533,"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.624Z","updated_at":"2024-11-15T14:31:52.592Z","avatar_url":"https://github.com/charlespalen.png","language":"ActionScript","readme":"Introduction\n===============================================\nJanuary 2013\n\nThis project is mainly based on Adam Buckley's implementation in Java.\nThis is to my knowledge the only NTP implementation for the Flash platform, but it requires\nadobe AIR. This may be useful for developers who need a good clock reference for cryptography\nor other operations.\n\nThis is an example project containing an NTP implementation targeted at Adobe AIR.\nThe sample project can be compiled using Flash Builder, Flash Develop, or Flash CS.\n\nThe sample was created with Flash Builder 4.6 and Flash Professional CS 5.5 (Saved as CS4)\n\nThe NTP classes require Adobe AIR becuase they use UDP sockets.\n\nExample Usage\n--------------------------------------------------\n```actionscript3\nntpTime = new ntpTimeUtility();\nntpTime.addEventListener(ntpTimeUtility.NTP_TIME_RECIEVED, handleNTPTime, false, 0, true);\nntpTime.initiateUDPTimeRequest();\n\nprivate function handleNTPTime(e:Event):void {\n  // The time returned from the time server which should be localized\n  // to the computers clock is in the ntpTIme.latestNTPTime variable\n  trace(\"main - ntp time utility return: \" + ntpTime.latestNTPTime);\n} \n```\n\nAir Descriptor File\n--------------------------------------------------\nYou may need to change the air descriptor file, \" to target your particular installed SDK.\n\nsrc/ntpSample-app.xml\n\nAll you need to do is change the second node in the xml to target your installed SDK or lower (this determines the AIR runtime version needed when the app is deployed)\n\n```xml\n\u003capplication xmlns=\"http://ns.adobe.com/air/application/3.1\"\u003e\n```\n\nSpecial Thanks\n--------------------------------------------------\nThanks to [Leo O'Donnell](https://github.com/leopoldodonnell) for requesting this be posted on Github and help with the intial commits.\n\nLicense\n--------------------------------------------------\nThe NTPTimeObject.as based on Adam Buckley's Java class may fall under the GNU GPL\n\nThe licensing for everything else should be considered BSD or MIT; whichever is more free for your particular locale and application.\nCharles Palen\n*[Technogumbo](http://www.technogumbo.com)*\n*[Transcending Digital LLC](http://www.transcendingdigital.com)*","funding_links":[],"categories":["Networking"],"sub_categories":["Protocols"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlespalen%2FAS3-NTP-Implementation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlespalen%2FAS3-NTP-Implementation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlespalen%2FAS3-NTP-Implementation/lists"}