UDP Broadcast Ping (Using C)

#1

Hello,

For my application, I need to send a UDP broadcast ping. Some of the devices will response with specific information like their name, IP etc.

I wonder if you could help me with some examples of sending UDP broadcast requests in C, and how to handle them by the other devices which also run mOS.

My question is really similar to https://forum.mongoose-os.com/discussion/234/example-for-using-udp , but instead I am using C.

Thank you very much in advance.