{"id":19922291,"url":"https://github.com/isopropylcyanide/rip-posix-threads","last_synced_at":"2025-07-26T21:10:33.322Z","repository":{"id":118644632,"uuid":"48046918","full_name":"isopropylcyanide/RIP-POSIX-threads","owner":"isopropylcyanide","description":"An attempt to implement the routing information protocol using POSIX Threads (C Language). ","archived":false,"fork":false,"pushed_at":"2018-06-08T09:28:54.000Z","size":14,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-03T07:37:11.504Z","etag":null,"topics":["c","c-programming","makefile","network","networking","posix","posix-threads","router","routing-protocols"],"latest_commit_sha":null,"homepage":"","language":"C","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/isopropylcyanide.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,"zenodo":null}},"created_at":"2015-12-15T14:10:13.000Z","updated_at":"2020-07-24T14:22:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"229df7be-be0a-4e3e-a52f-433c64e0775e","html_url":"https://github.com/isopropylcyanide/RIP-POSIX-threads","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/isopropylcyanide/RIP-POSIX-threads","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isopropylcyanide%2FRIP-POSIX-threads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isopropylcyanide%2FRIP-POSIX-threads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isopropylcyanide%2FRIP-POSIX-threads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isopropylcyanide%2FRIP-POSIX-threads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isopropylcyanide","download_url":"https://codeload.github.com/isopropylcyanide/RIP-POSIX-threads/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isopropylcyanide%2FRIP-POSIX-threads/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267236777,"owners_count":24057656,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"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":["c","c-programming","makefile","network","networking","posix","posix-threads","router","routing-protocols"],"created_at":"2024-11-12T22:10:29.256Z","updated_at":"2025-07-26T21:10:33.316Z","avatar_url":"https://github.com/isopropylcyanide.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"### An attempt to implement the routing information protocol using POSIX Threads (C Language). ###\n\n## Contribute ##\n\nYou are free to suggest changes.\n\n* Clone the repository\n* Create a new branch on local\n* Merge changes from remote on to the local branch\n* Work and push changes \n----\n\n## Usage ##\n\n* Type 'make' in the terminal for the output (already provided makefile)\n* Add the changes to the C source\n----\n\n## About ##\nThis is a very light implementation of Routing Information Protocol (Networking) using POSIX Threads.\n\nThe idea is to have some n number of files in the directory names ($n.txt). These files represent routers. \nIn each file there are three space separated columns.\n\nCol-1 Col-2 Col-3\n\n* Col-1: This is the name of the router file. \n* Col-2: This is the distance between the router whose name is specified in col-1        and with the router whose file you have currently opened. \n\tIf this distance is:\n\t\t\"1\" : directly connected\n\t\t\"2\" : connected at a distance of 2 metres. (1 metre for directly connected)\n\t\t...\n\t\t\"16\": not reachable, infinite distance.\n\n\tHence, the maximum distance reachable is 15\n\n* Col-3: This specifies the next hop destination to reach the router whose name is specifies in Col-1. A hop of 0 , means no hop is required. Initially, there are obviously no hops\n\n\n----\n\n#### What all can I do ####\n* Add a router. You don't create a new file. The new router remains in memory. \nThe initial router files are just for initiation since I needed File Handling as the initialisation approach. \n* Fail a link:\n* Add a link:\n* Invalidate a router\n* Revalidate a router\n* Exit simulation:\n\nAll of these actions have been carefully studies and implemented. I would appreciate if someone could come up with their bugs or an efficient code perhaps.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisopropylcyanide%2Frip-posix-threads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisopropylcyanide%2Frip-posix-threads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisopropylcyanide%2Frip-posix-threads/lists"}