Besides I don't generally need to communicate to ALL devices, just several at once? The devices can all be assumed to be running linux. I don't want to make too many asumptions about the routing hardware invoved in whatevr wird or wifi network is in use, so don't want to try to use braodcast capacities in a router (apparently if you send data to certain local IP addresses on certain routers they send it on to all devices on the LAN) or anything like that. I am working with IPv4, IPv6 is not under consideration here, I suspect some of the devices don't support it anyway. Is there a convenient way to send this to many IP addresses at once, for example all in the range 192.168.1.25 through to 192.168.1.49, or all of those addresses with a last number divisible by 10, or all of them over 210 (so all from 211 up to 255). I've been using netcat with the syntax described below to send message between systems on a local network.Įcho -n 'message here' | netcat -w 1 IPtoSendTo PortToSendTo
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |