Coap.Proxy.Program.Main C# (CSharp) Method

Main() static private method

static private Main ( string args ) : void
args string
return void
        static void Main(string[] args)
        {
            ServerListerner coapProxyServer = new ServerListerner(Int32.Parse(GetAppConfig("listenPort")));
            coapProxyServer.StartServer(Int32.Parse(GetAppConfig("webSocetPort")),GetAppConfig("portName"));
            while (true)
            {
                coapProxyServer.AcceptConnection();
            }

        }