{"id":26982983,"url":"https://github.com/pawk/node-tcp","last_synced_at":"2026-04-11T20:35:19.677Z","repository":{"id":143778179,"uuid":"144697386","full_name":"pawk/node-tcp","owner":"pawk","description":"multi-client communication with broadcast server","archived":false,"fork":false,"pushed_at":"2018-08-16T08:43:27.000Z","size":569,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T11:36:05.996Z","etag":null,"topics":["nodejs","tcp"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pawk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-14T09:18:01.000Z","updated_at":"2018-08-16T08:43:28.000Z","dependencies_parsed_at":"2023-05-17T00:00:13.620Z","dependency_job_id":null,"html_url":"https://github.com/pawk/node-tcp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pawk/node-tcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawk%2Fnode-tcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawk%2Fnode-tcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawk%2Fnode-tcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawk%2Fnode-tcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pawk","download_url":"https://codeload.github.com/pawk/node-tcp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawk%2Fnode-tcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31695163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T20:18:30.949Z","status":"ssl_error","status_checked_at":"2026-04-11T20:18:29.982Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["nodejs","tcp"],"created_at":"2025-04-03T16:37:36.981Z","updated_at":"2026-04-11T20:35:19.632Z","avatar_url":"https://github.com/pawk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TCP in nodejs\n\n\u003e Communication between multiple clients (with server relaying messages)\n\n![](example.gif)\n\nProgram consists of two parts: client and server.\n\nOpen a terminal and run\n\n```\nnpm run server\n```\n\nIn the next window go with\n\n```\nnpm run client\n```\n\nType something in either of the terminals and hit Enter. Observe two way communication between the client and the server.\n\nNow run at least one more client. Send some messages from either of the terminals. Observe how server broadcasts messages to all of the connected clients.\n\n\u003e It does that using single PassThrough stream which is piped to every connected socket\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawk%2Fnode-tcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpawk%2Fnode-tcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawk%2Fnode-tcp/lists"}