CFServer.Program.Main C# (CSharp) Method

Main() static private method

static private Main ( string args ) : void
args string
return void
        static void Main(string[] args)
        {
            IPAddress serverip = IPAddress.Parse("140.112.18.202");
            int port = 800;
            IPEndPoint serverhost = new IPEndPoint(serverip, port);
            TcpListener tcpl = new TcpListener(serverhost);
            Console.WriteLine("Server started at: " + serverhost.Address.ToString() + " port:" + port);

            listener2 lc = new listener2(tcpl);
            lc.startup();
        }
Program