{"id":19829748,"url":"https://github.com/gistrec/file-broadcaster","last_synced_at":"2025-05-01T14:33:52.474Z","repository":{"id":187165219,"uuid":"165071802","full_name":"gistrec/File-Broadcaster","owner":"gistrec","description":"UDP File sender and receiver using BROADCAST address","archived":false,"fork":false,"pushed_at":"2020-02-07T17:33:15.000Z","size":35,"stargazers_count":57,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-23T01:11:47.684Z","etag":null,"topics":["broadcast-address","packets","receiver","sender","udp"],"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/gistrec.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}},"created_at":"2019-01-10T14:14:17.000Z","updated_at":"2023-12-21T03:51:42.000Z","dependencies_parsed_at":"2023-08-09T08:25:18.418Z","dependency_job_id":null,"html_url":"https://github.com/gistrec/File-Broadcaster","commit_stats":null,"previous_names":["gistrec/file-broadcaster"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gistrec%2FFile-Broadcaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gistrec%2FFile-Broadcaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gistrec%2FFile-Broadcaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gistrec%2FFile-Broadcaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gistrec","download_url":"https://codeload.github.com/gistrec/File-Broadcaster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251890387,"owners_count":21660507,"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":["broadcast-address","packets","receiver","sender","udp"],"created_at":"2024-11-12T11:19:52.220Z","updated_at":"2025-05-01T14:33:52.204Z","avatar_url":"https://github.com/gistrec.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File-Broadcaster\n\n\u003cp align=\"left\"\u003e\n    \u003ca href=\"https://circleci.com/gh/gistrec/File-Broadcaster/tree/master\"\u003e\n        \u003cimg src=\"https://img.shields.io/circleci/build/github/gistrec/File-Broadcaster/master\" alt=\"Build status\"\u003e\u003c/a\u003e\n    \u003ca\u003e\n      \u003cimg src=\"https://img.shields.io/codacy/grade/4c8169bcab3a4df18baad4e5658ec8ce\" alt=\"Code quality\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/gistrec/File-Broadcaster/releases\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/v/release/gistrec/File-Broadcaster\" alt=\"Release\"\u003e\u003c/a\u003e\n    \u003ca\u003e\n      \u003cimg src=\"https://img.shields.io/badge/platform-windows%20%7C%20linux-brightgreen\" alt=\"Code quality\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/gistrec/File-Broadcaster/blob/master/LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/gistrec/File-Broadcaster?color=brightgreen\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nUDP File sender and receiver  \nCan use broadcast address to send file on all computers in LAN\n\n## Features\n\n- Send file to one or all computers in LAN\n- Reliability of data transmission\n- Server timeout detection  \n- Change MTU\n\n## Overview\n\n- [Requirements](#requirements)\n- [Download](#download)\n- [Installation](#installation)\n- [Script Parameters](#script-parameters)\n- [Packets Specification](#packets-specification)\n- [Script Specification](#script-specification)\n\n## Download\n Clone the [source repository](http://github.com/gistrec/File-Broadcaster) from Github. \n* On the command line, enter:\n    ````\n    git clone https://github.com/gistrec/File-Broadcaster.git\n    git submodule init\n    git submodule update --recursive --remote\n    ````\n\n* You can probably use [Github for Windows](http://windows.github.com/) or [Github for Mac](http://mac.github.com/) instead of the command line, however these aren't tested/supported and we only use the command line for development. Use [this link](https://git-scm.com/downloads) to download the command line version.\n\n\n## Requirements\n* Windows:\n    * Visual Studio 2015 or 2017\n* Linux:\n    * g++\n    * pthread\n    * arpa\n\n  \n\n## Installation\n* Windows\n    * Open FileBroadcaster.sln via Visual Studio\n    * Build project \n* Linux\n    * Open a terminal/console/command prompt, change to the directory where you cloned project, and type:\n      ````\n      make all\n      ````\n\n## Script Parameters\n| Parameter   | Default | Description |\n| ------ | -------- | -------- |\n| p, port | 33333 | Sender and receiver port |\n| f, filename| `none` | Transmitted and received file |\n| t, type | receiver | receiver or sender |\n| ttl | 15 | Seconds to wait cliend requests or sender responses  |\n| mtu | 1500 | MTU packet size |\n| broadcast | 255.255.255.255 | Broadcast address. Can use to unicast. |\n\n## Packets Specification\nPackets structure\n![alt text](https://www.gistrec.ru/wp-content/uploads/2019/01/Packets.png)\n\n## Script Specification\n1. Sender send `NEW_PACKET` packet to broadcast (or unicast) address\n2. Sender send all parts of file via `TRANSFER` packet\n3. If any pacckets were lost, receiver ask them sending `RESEND` packet to broadcast (or unicast) address\n4. Sender wait `RESEND` packets or wait TTL and turns off\n5. Receiver ask all lost parts, until the whole file is no downloaded or wait TTL and turns off\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgistrec%2Ffile-broadcaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgistrec%2Ffile-broadcaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgistrec%2Ffile-broadcaster/lists"}