Pierre
Pierre

Reputation: 134

Is udp broadcast supported on Chrome Native Client (pnacl toolchain)?

I try to implement an Nacl module in a Chrome Extension that tries to discover GigE cameras using GigE Vision control service (gvcp). So I have to send an UDP broadcast message on port 3956. I use sendmsg() function for this purpose.

Inside my Nacl module (compiled using pnacl toolchain), I use nacl_io and I can successfully send an UDP message as soon as I use a classical host adddress (let say 192.168.1.12 for example). I could see the emitted message using Wireshark.

But when I switch to INADDR_BROADCAST address, I could see that my call to sendmsg() function is successfull (I send 4 bytes and the result of this call is well equal to 4)...but nothing really happens on the network. I cannot see any broadcast message sent using Wireshark.

Using Nacl logging, I cannot see any Nacl error in the logs.

I use pepper_56.

Please note that:

Is UDP broadcast supported in pepper_56 ? Any idea why it is not working ?

Upvotes: 2

Views: 223

Answers (0)

Related Questions