I need to receive datagrams that are sent as a broadcast message by remote host connected on the same lan.
I am using UDPClient but have no idea which method to use.There is a method UDPClient.Receive but that requires as parameter a specific IPEndPoint which is obviously not wanted since it is a broadcast message that I need to receive and hence the sender is not important. Please if possible provide me with the code to receive a broadcast message. Thanks.