public static void Main() { // Turn console messages on Console.Verbose = true; NetworkInterface ni; // Wait for DHCP (on LWIP devices) while (true) { ni = NetworkInterface.GetAllNetworkInterfaces()[0]; if (ni.IPAddress != "0.0.0.0") { break; } Thread.Sleep(1000); } // Create a test application thread TestApplication testApp = new TestApplication(); Thread testAppThread = new Thread(new ThreadStart(testApp.Run)); testAppThread.Start(); System.Ext.Console.Write("Application started..."); }
public static void Main() { // Turn console messages on Console.Verbose = true; // Create a test application thread TestApplication testApp = new TestApplication(); Thread testAppThread = new Thread(new ThreadStart(testApp.Run)); testAppThread.Start(); System.Ext.Console.Write("Application started..."); }
public static void Main() { // Turn console messages on Console.Verbose = true; NetworkInterface ni; // Wait for DHCP (on LWIP devices) while(true) { ni = NetworkInterface.GetAllNetworkInterfaces()[0]; if(ni.IPAddress != "0.0.0.0") break; Thread.Sleep(1000); } // Create a test application thread TestApplication testApp = new TestApplication(); Thread testAppThread = new Thread(new ThreadStart(testApp.Run)); testAppThread.Start(); System.Ext.Console.Write("Application started..."); }