{"id":20987167,"url":"https://github.com/haxpor/unp","last_synced_at":"2026-05-01T02:34:09.332Z","repository":{"id":149553139,"uuid":"195285900","full_name":"haxpor/unp","owner":"haxpor","description":"Unix Network Programming learning repository following along from Unix Network Programming Volume 1, 3rd Edition try to use as much as possible C++11 features and as necessary, cmake, modified and improvements on top (**wip)","archived":false,"fork":false,"pushed_at":"2019-07-16T15:48:40.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-01T02:34:08.789Z","etag":null,"topics":["cplusplus","cplusplus-11","linux","network-programming","networking","unix"],"latest_commit_sha":null,"homepage":"","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/haxpor.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":"2019-07-04T18:23:56.000Z","updated_at":"2022-06-16T02:21:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"69659334-3642-485f-9cb9-6fca1a35fff4","html_url":"https://github.com/haxpor/unp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/haxpor/unp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Funp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Funp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Funp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Funp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haxpor","download_url":"https://codeload.github.com/haxpor/unp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Funp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32483406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cplusplus","cplusplus-11","linux","network-programming","networking","unix"],"created_at":"2024-11-19T06:16:11.990Z","updated_at":"2026-05-01T02:34:09.314Z","avatar_url":"https://github.com/haxpor.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unp\nUnix Network Programming learning repository following along from Unix Network Programming Volume 1, 3rd Edition but with reasonable best effort migration to C++11, cmake, modified and improvements on top\n\n# System\n\nThe system used to work and run this project is Ubuntu 18.04 64-bit 4.18.0-21.\n\nIt is not tested on other platforms, but technically should be portable.\n\n# Build\n\n* create a new directory `build`\n* `cmake ..`\n* `make -j4`\n\nIt will build all sample programs in each chapters as executable file. The common code is produced as static library.\n\n# Pattern\n\n## Source File Name\nFile name of the source code for each program as seen in the text book will be named starting with upper case in this project, along with upper case for each word in PaslCal case.\n\n`daytimetcpcli.c` will become `DaytimeTCPCli.cpp`.\n\nSuch source file will be put into the corresponding directory of chapter number. So it will be saved as `chapter_1/DaytimeTCPCli.cpp`.\n\n## Executable File Name\n\nExecutable file will be named like follows\n\n`chapter_1/DaytimeTCPCli.cpp` will become `ch1_daytimetcpcli`.\n\n# The Book\nUnix Network Programming Volume 1 (3rd Edition)\nby W.Richard Stevens, Bill Fenner, and Andrew M.Rudoff.\n\nI got the copy of such book around 12-15 years ago, but fortunately I still keep it safe until today (year 2019).\nSince then, I never finish the entire book, probably just a chapter or two then never get back there again.\n\nNow it's time to actually make use of it (firstly aim to reach chater 11).\n\n# License\nThis project is licensed under [MIT](https://github.com/haxpor/unp/blob/master/LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxpor%2Funp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaxpor%2Funp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxpor%2Funp/lists"}