When using C # UDPClient to retrieve data, how to determine if the received datagram was a broadcast packet or not?
I can determine the source IP address by reading the endpoint from UdpClient.Receive (endpoint), but I cannot figure out how to get the remote IP address of the packet. Is there any way to do this?
source share