Do I need to set a socket option to broadcast messages over UDP?
Previously I’ve had to set the UDP socket options
~~~
setsockopt(s, SOLSOCKET, SOBROADCAST, (char *)&opt, sizeof(opt));
~~~
Do I need to do this when I create a UDP socket in FreeRTOS?
I can’t see any mention of it in the socket options table on the website.
Do I need to set a socket option to broadcast messages over UDP?
I don’t think such an options exists or needs to be explicitly used in
FreeRTOS – just set the address to which data is being sent to
appropriately for a broadcast.