On Wed, Mar 06, 2019 at 03:52:31PM +0700, Eugene Grosbein wrote:
> 06.03.2019 5:46, Goran Mekić wrote:
> As shown, nc generates UDP datagramm without (optional) checksum.
It's because of offloading. When I check it on router, checksum is fine.

> > So what am I doing wrong and how can I send UDP broadcast from either 
> > script of C code? Thank you!
>
> You should try ncat from security/nmap instead of nc.
Tried it with this:

printf "/info\0\0\0" | ncat -4u 255.255.255.255 10024

Absolutely same result. If I use mixer IP I get the response, so I know
what I'm sending is OK:

printf "/info\0\0\0" | ncat -4u 192.168.5.80 10024

It works with ncat and nc.

Regards,
meka

Attachment: signature.asc
Description: PGP signature

Reply via email to