{"id":16389646,"url":"https://github.com/yuce/waitport","last_synced_at":"2025-08-02T00:41:32.712Z","repository":{"id":51820882,"uuid":"514568229","full_name":"yuce/waitport","owner":"yuce","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-16T20:14:20.000Z","size":11,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-03T13:46:44.294Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-07-16T12:10:37.000Z","updated_at":"2024-08-22T23:06:31.000Z","dependencies_parsed_at":"2024-11-09T06:39:43.709Z","dependency_job_id":"aafaa10f-a9d5-42e8-9fbc-ae871d7cf561","html_url":"https://github.com/yuce/waitport","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuce%2Fwaitport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuce%2Fwaitport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuce%2Fwaitport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuce%2Fwaitport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuce","download_url":"https://codeload.github.com/yuce/waitport/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240216475,"owners_count":19766589,"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-10-11T04:33:52.878Z","updated_at":"2025-02-22T18:25:07.369Z","avatar_url":"https://github.com/yuce.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# waitport\n\n`waitport` is a simple utility that waits for a TCP port to be connectable.\nIt is very small, about 10KBs when compiled and stripped.\n\n## Build\n\nRequirements:\n\n* Linux / OpenBSD / macOS (May work on other POSIX).\n* C compiler with C99 support.\n\n### Using Make\n\nJust:\n```\n$ make\n```\n\n### Using CMake\n\n```\n$ mkdir build \u0026\u0026 cd $_\n$ cmake ..\n$ make\n```\n\n## Usage\n\nWait indefinitely on port 9701 at localhost, try every second:\n```\n$ waitport 9701\n```\n\nWait indefinitely on port 9701 at foobar.com, try every second:\n```\n$ waitport foobar.com 9701 \n```\n\nWait 10 seconds on port 9701, try every second:\n```\n$ waitport 9701 -t 10\n```\n\nWait 10 seconds on port 9701, try every 100 ms:\n```\n$ waitport 9701 -t 10 -s 0.1\n```\n\n### License\n\n[MIT](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuce%2Fwaitport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuce%2Fwaitport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuce%2Fwaitport/lists"}