/// <summary> /// Initializes networking /// </summary> private static unsafe void initNetworking() { // Networking Network.Init(); Route.Init(); // Networking protocols IPV4.Init(); ICMP.Init(); // Transport protocols UDP.Init(); TCP.Init(); ARP.Init(); DHCP.Init(); // Network drivers E1000.Init(); PCNet2.Init(); RTL8139.Init(); DHCP.Discover(); //Thread packetHandler = new Thread(); //packetHandler.Context.CreateNewContext(Util.MethodToPtr(HttpTest), 0, null, true); //Tasking.KernelTask.AddThread(packetHandler); }