Receiving response(s) from N number of clients in reply to a broadcast request over UDP
I am implementing a kind of IP finder for a particular type of network multimedia device. I want to find out all the alive devices of that type in the LAN, with their IP address and other details. The device has its own way of device discovery. It works as follows: A client sends a broadcast request over the LAN via UDP. The destination port number is fixed. In reply, all the servers in the LAN that understand the format of this request will respond to this request providing information about themselves. I am broadcasting the UDP request message using sendto(). Now my problem is that I don't