On 06.03.2019 15:53, Goran Mekić wrote: > I checked, and 02:c9:63:0b:f4:00 is my router MAC, so I suppose the > ff:ff:ff:ff:ff:ff should be what I see. > > Of course, I tried to write a simple C program that does the same, but > just using 255.255.255.255 as IP address gives the same result as nc. Do > I need to use raw sockets, perheps?
Take a look at ip(4) manual page, read about SO_BROADCAST and IP_ONESBCAST. -- WBR, Andrey V. Elsukov
signature.asc
Description: OpenPGP digital signature