static void Main(string[] args) { LogThread.AlwaysPrintToConsole = true; _server = new ServerBase(11299, "server=127.0.0.1;uid=DecoServer;pwd=dspass;database=deco;"); _server.TaskProcessor = new TaskProcessor(_server); _server.Run(); LogThread.GetLog().Shutdown(); }
static void Main(string[] args) { ServerArgs sargs = new ServerArgs(args); #if DEBUG LogThread.AlwaysPrintToConsole = true; #endif _server = new HappinessServer(sargs.ListenPort, sargs.DBString, sargs.HostAddress, sargs.HostPort); _server.Run(); LogThread.GetLog().Shutdown(); }