Hi Team,
Need some help. i am new to network coding. I am using the below code:
if (IPAddress.IsLoopback(statusMessage.IPAddress))
{
TraceLogger.Debug("DBG:: Loopback IP so returning...");
return;
}
The Code build using visual studio 2017, treating the IP Address 255.255.255.255 as not a Loopback address.
The Code build using visual studio 2012, treating the IP Address 255.255.255.255 as Loopback address.
Any suggestions to resolve this.
As per the article(https://video2.skills-academy.com/en-us/dotnet/api/system.net.ipaddress.isloopback?view=netcore-3.1), loopback ip address range is 127.0.0.0 – 127.255.255.255.
Then why 255.255.255.255 is treating as Loopback address.
Regards,
Sanjay.