/// <summary> /// Initialize the Network Stack to prepare it for operation /// </summary> public static void Init() { AddressMap = new TempDictionary <NetworkDevice>(); // VMT Scanner issue workaround Cosmos.System.Network.ARP.ARPPacket.VMTInclude(); //Cosmos.System.Network.IPv4.ARPPacket_Ethernet.VMTInclude(); Cosmos.System.Network.IPv4.ARPReply_Ethernet.VMTInclude(); Cosmos.System.Network.IPv4.ARPRequest_Ethernet.VMTInclude(); Cosmos.System.Network.IPv4.ICMPPacket.VMTInclude(); Cosmos.System.Network.IPv4.ICMPEchoReply.VMTInclude(); Cosmos.System.Network.IPv4.ICMPEchoRequest.VMTInclude(); Cosmos.System.Network.IPv4.UDPPacket.VMTInclude(); }
/// <summary> /// Initialize the Network Stack to prepare it for operation. /// </summary> /// <exception cref="ArgumentOutOfRangeException">Thrown on fatal error (contact support).</exception> public static void Init() { AddressMap = new TempDictionary <NetworkDevice>(); // VMT Scanner issue workaround ARPPacket.VMTInclude(); ARPPacket_Ethernet.VMTInclude(); ARPReply_Ethernet.VMTInclude(); ARPRequest_Ethernet.VMTInclude(); ICMPPacket.VMTInclude(); ICMPEchoReply.VMTInclude(); ICMPEchoRequest.VMTInclude(); UDPPacket.VMTInclude(); //TCPPacket.VMTInclude(); }
static UdpClient() { clients = new TempDictionary <UdpClient>(); }