Starts this instance of the socket listening to ICPM messages.
The socket doesn't work on anything but the actual ip address, both ipv6 and ipv4 are supported
_iCMPSockets = new List<ICMPSocket>();
//store the socket in _iCMPSockets to dispose them on disposing the owner
Inverse.TryResolve<ILoggerFactory>(out var factory);
foreach (var ip in LocalNetwork.LocalIPAddresses())
{
_iCMPSockets.Add(new ICMPSocket(ip,_cancellationToken.Token));
_iCMPSockets[^1].PacketReceived += OnPinged;
_iCMPSockets[^1].Logger = factory?.CreateLogger("Walter.Net.Networking.ICMPSocket.") ?? _logger;
_iCMPSockets[^1].Start();
}
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2