Do I need to set a socket option to broadcast messages over UDP?

kat123 wrote on Friday, February 02, 2018:

Previously I’ve had to set the UDP socket options

 setsockopt(s, SOL_SOCKET, SO_BROADCAST, (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.

rtel wrote on Sunday, February 04, 2018:

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.