1 week, 2 days ago.

UDP Broadcast

I would like my K64f to recieve a mesage from a device that is broadcasting on a closed network.

It does not appear as if UDP broadcast is available in the UDP sockets class.

How do I enable it.

Thanks,

Joe

Comment on this question

1 Answer

1 week, 1 day ago.

Hi Joe,

Try to set set socket options to allow broadcast receiving: https://os.mbed.com/docs/mbed-os/v5.14/mbed-os-api-doxy/class_u_d_p_socket.html#acf7bb8fc53f7f21841fd0c86a12f29ae

Regards, Pekka

Thanks for the reply, what socket options should be set for receiving broadcast UDP packets?

posted by joe holdsworth 05 Nov 2019

You need to log in to post a question