UDP broadcast
Andrey V. Elsukov
bu7cher at yandex.ru
Wed Mar 6 12:37:59 UTC 2019
On 06.03.2019 01:46, Goran Mekić wrote:
> Hello,
>
> I have a audio mixer which is controleable over network via android app.
> The discovery is done by sending broadcast UDP message "/info\0\0\0" to
> 255.255.255.255 (checked by tcpdump on the router). I thought I can do
> the same with:
>
> printf "/info\0\0\0" | nc -4u -w 0 255.255.255.255 10024
>
> But I never get the reply. This is what tcpdump sees:
>
> tcpdump -nnSX -v 'src 192.168.5.80 or dst 255.255.255.255'
> tcpdump: listening on re0, link-type EN10MB (Ethernet), capture size
I think it is because netcat does not send real broadcast, you can add
-e flag to tcpdump and compare ethernet destination addresses.
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20190306/7e923ef9/attachment.sig>
More information about the freebsd-net
mailing list