Skip to content

Commit affcb38

Browse files
authored
Update README.md
1 parent 5de6b52 commit affcb38

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File-Broadcaster
22

3-
UDP File sender and receiver
3+
UDP File sender and receiver
44
Can use broadcast address to send file on all computers in LAN
55

66

@@ -18,14 +18,15 @@ Can use broadcast address to send file on all computers in LAN
1818
- [Download](#download)
1919
- [Installation](#installation)
2020
- [Script Parameters](#script-parameters)
21-
- [Packets Specification](#packet-specification)
21+
- [Packets Specification](#packets-specification)
2222
- [Script Specification](#script-specification)
2323

2424
# Download
2525
Clone the [source repository](http://github.com/gistrec/File-Broadcaster) from Github.
2626
* On the command line, enter:
2727
````
2828
git clone https://github.com/gistrec/File-Broadcaster.git
29+
git submodule init
2930
git submodule update --recursive --remote
3031
````
3132
* 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.
@@ -35,7 +36,7 @@ Can use broadcast address to send file on all computers in LAN
3536
* Windows:
3637
* Visual Studio 2015 or 2017
3738
* Linux:
38-
* g++, , arpa
39+
* g++
3940
* pthread
4041
* arpa
4142
@@ -66,8 +67,8 @@ Packets structure
6667
![alt text](https://www.gistrec.ru/wp-content/uploads/2019/01/Packets.png)
6768
6869
## Script Specification
69-
1. Sender send `NEW_PACKET` packet to broadcast (or no) address
70+
1. Sender send `NEW_PACKET` packet to broadcast (or unicast) address
7071
2. Sender send all parts of file via `TRANSFER` packet
71-
3. If any pacckets were lost, receiver ask them sending `RESEND` packet to broadcast (or no) address
72+
3. If any pacckets were lost, receiver ask them sending `RESEND` packet to broadcast (or unicast) address
7273
4. Sender wait `RESEND` packets or wait TTL and turns off
7374
5. Receiver ask all lost parts, until the whole file is no downloaded or wait TTL and turns off

0 commit comments

Comments
 (0)