Netcat broadcast
From Attie's Wiki
(Difference between revisions)
(Created page with "==Listeners== <source lang="bash"> socat - UDP-DATAGRAM:192.168.45.255:5000,broadcast < in-file </source> ==Server== <source lang="bash"> nc -lup 5000 > out-file </source>") |
m |
||
Line 1: | Line 1: | ||
+ | Ever wanted to copy a large file to multiple computers? Say, a 26GB Virtual Machine, to 10 training laptops... | ||
+ | |||
+ | Do it like this (using UDP broadcast) | ||
+ | |||
==Listeners== | ==Listeners== | ||
<source lang="bash"> | <source lang="bash"> |
Latest revision as of 16:01, 21 May 2012
Ever wanted to copy a large file to multiple computers? Say, a 26GB Virtual Machine, to 10 training laptops...
Do it like this (using UDP broadcast)
[edit] Listeners
socat - UDP-DATAGRAM:192.168.45.255:5000,broadcast < in-file
[edit] Server
nc -lup 5000 > out-file