{"id":19079699,"url":"https://github.com/devzhk/rdt-programmming","last_synced_at":"2025-08-02T18:06:56.377Z","repository":{"id":129491996,"uuid":"158897955","full_name":"devzhk/RDT-programmming","owner":"devzhk","description":"Implement RDT 3.0 protocol on UDP.(Homework for Computer Network, Fall 2018)","archived":false,"fork":false,"pushed_at":"2018-11-24T03:18:10.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T05:42:06.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/devzhk.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-11-24T03:08:56.000Z","updated_at":"2018-11-24T03:18:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"f19421fc-bfe1-4d06-9a5a-4db2e618e2b7","html_url":"https://github.com/devzhk/RDT-programmming","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devzhk/RDT-programmming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devzhk%2FRDT-programmming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devzhk%2FRDT-programmming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devzhk%2FRDT-programmming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devzhk%2FRDT-programmming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devzhk","download_url":"https://codeload.github.com/devzhk/RDT-programmming/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devzhk%2FRDT-programmming/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268431637,"owners_count":24249413,"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-08-02T02:00:12.353Z","response_time":74,"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":[],"created_at":"2024-11-09T02:15:39.561Z","updated_at":"2025-08-02T18:06:56.369Z","avatar_url":"https://github.com/devzhk.png","language":"Java","readme":"# RDT-programmming\nImplement RDT 3.0 protocol on UDP.(Homework for Computer Network, Fall 2018)\n## How to run\n\n### Create Directory\n\n- Firstly, just copy the directory `socket` to `D:\\`.\n- Then we have the directory `D:\\socket\\Sender\\` ;  It contains the file to send;\n- And the directory `D:\\socket\\Receiver\\`; The file received will be save in here.\n- Here we already have `T.txt`  in the directory.\n\n### CountError\n\n- `CountError.cpp` is used to count the wrong bytes of the file. \n\n- Input : name of the file you want to check.(eg. T.txt)\n\n### UDP without RDT3.0\n\n- Run `UDPReceiver.java` and`UDPSender.java`;\n\n- Enter the hostname and filename according to the guidance. (Just input the green sentences) \n\n- Then UDPReceiver will receive the `T.txt` and save it to `D:\\socket\\Receiver\\`; \n- Next, run `CountErrors.cpp` to count the error bits and get error rate.\n\n\n### TCP file transfer\n\n- Run `TCPServer.java` first and then run `TCPClient.java`\n\n- Enter the hostname and filename according to the guidance. (Just input the green sentences) \n\n\n- `T.txt` will be received and saved to  `D:\\socket\\Receiver\\`; \n- Run `CountErrors.cpp` to count the error bits and get error rate.\n\n\n### UDP with RDT3.0\n- Run `RDTSenderMain` first and then run `RDTReceiver`(Not `RDTSender`)\n\n- Enter the hostname and filename according to the guidance. (Just input the green sentences) \n\n- `T.txt` will be received and saved to  `D:\\socket\\Receiver\\`; \n\n- Run `CountErrors.cpp` to count the error bits and get error rate.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevzhk%2Frdt-programmming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevzhk%2Frdt-programmming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevzhk%2Frdt-programmming/lists"}