4 ms·
You can use broadcast addresses in nc, like with any other utility: http://en.wikipedia.org/wiki/Broadcast_address http://en.wikipedia.org/wiki/Broadcast_addres
by niggler 14y ago
You can use broadcast addresses in nc, like with any other utility: http://en.wikipedia.org/wiki/Broadcast_address http://en.wikipedia.org/wiki/Broadcast_address
The comment itself suggested that the person didn't read the manpage (saw that the synopsis said `hostname` and concluded that it didnt support ip address). That seems like a pretty uninformed reading of the manpage.
More generally it's frustrating when self-proclaimed experts don't know all of the command options (hard to be an expert without knowing what's going on). I've done interviews where a candidate claims to be an expert with XYZ tool and not know the most common features.
- 0x0 14y agoWhy don't you give an example in your blog post on how you would use "nc" to transfer a file between two machines without knowing their addresses, then? (And.. are you sure TCP works on broadcast? Because on my OS X machine it doesn't seem to take: % sudo nc -v 255.255.255.255 9696 nc: connect to 255.255.255.255 port 9696 (tcp) failed: Permission denied )