コード例 #1
0
ファイル: Program.cs プロジェクト: bguerre20/Simple-Push-2.0
        static void Main(string[] args)
        {
            string localAddress = GetLocalIPAddress();

            Console.WriteLine(localAddress);
            HttpServer httpServer = new SimpleHttpServer(8080);
            Thread     thread     = new Thread(new ThreadStart(httpServer.listen));

            thread.Start();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: bguerre20/SimplePush
        static void Main(string[] args)
        {

            string localAddress = GetLocalIPAddress();
            Console.WriteLine(localAddress);
            HttpServer httpServer = new SimpleHttpServer(8080);
            Thread thread = new Thread(new ThreadStart(httpServer.listen));
            thread.Start();

        }