{"id":18686823,"url":"https://github.com/leon/akka-command-based-socketserver","last_synced_at":"2025-04-12T05:07:51.470Z","repository":{"id":4242682,"uuid":"5367419","full_name":"leon/akka-command-based-socketserver","owner":"leon","description":"Akka 2 command based socket server","archived":false,"fork":false,"pushed_at":"2012-08-10T12:25:26.000Z","size":92,"stargazers_count":12,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T00:36:01.752Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":false,"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/leon.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-08-10T09:36:01.000Z","updated_at":"2019-02-03T10:37:20.000Z","dependencies_parsed_at":"2022-09-06T02:50:09.840Z","dependency_job_id":null,"html_url":"https://github.com/leon/akka-command-based-socketserver","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/leon%2Fakka-command-based-socketserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon%2Fakka-command-based-socketserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon%2Fakka-command-based-socketserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon%2Fakka-command-based-socketserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leon","download_url":"https://codeload.github.com/leon/akka-command-based-socketserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519545,"owners_count":21117761,"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-11-07T10:29:17.523Z","updated_at":"2025-04-12T05:07:51.442Z","avatar_url":"https://github.com/leon.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Akka Command based Socket Server\n\nI played around a bit with akka IO and thought I'd share how I setup a simple 4 char command socket server\n\nThere are a couple of commands that show how you use the iteratees to convert from the socket input.\nand also how you can respond to the commands differently.\n\n * EXIT\n   Closes connection to socket server\n\n * ECHO Hello World\n   Echoes everything after ECHO back to the socket\n\n * DATE 2012-01-01\n   Parses date input YYYY-mm-dd to a jodatime and outputs to socket in YY/MM/DD format\n\n * RAND 5 of 10\n   Generates a 5 column, 10 row grid with numbers between 0 and 9\n\n## To run\nOpen two terminals\n\nIn one type\n\n    sbt run\n\nthis will start the socket server and output that it's listening on a specific port\n\nIn the other type\n\n    telnet 127.0.0.1 12345\n\nChange 12345 to the port that the server is listening too.\n\nIf everything works you should now be connected to the socket server and can try out the different commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleon%2Fakka-command-based-socketserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleon%2Fakka-command-based-socketserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleon%2Fakka-command-based-socketserver/lists"}