|
|
|
|
|
by niggler
4874 days ago
|
|
nc does this with the broadcast addresses (read https://en.wikipedia.org/wiki/Broadcast_address for more info): Recipient listens on 0.0.0.0: recipient$ nc -l 0.0.0.0 6969 > file
Sender broadcasts to broadcast address: sender$ <file | nc 192.168.0.255 6969
or sender$ <file | nc 255.255.255.255 6969
|
|
2. A very minor point, but you are still required to know (or at least specify) a the filename on the receiving end. My solution does not.