public void ServerStart() { try { CrawlerServer_ = new AsyncSocketServer(ListenCrawlerPort_); CrawlerServer_.OnAccept += new AsyncSocketAcceptEventHandler(OnAcceptCrawler); CrawlerServer_.Listen(); } catch (System.Exception ex) { MessageBox.Show(string.Format("크롤러 리슨 서버 시작 실패 {0}", ex.Message)); } }
public bool ServerStart() { try { CrawlerServer_ = new AsyncSocketServer(CheckerINIManager.Instance.ListenCrawlerPort_); CrawlerServer_.OnAccept += new AsyncSocketAcceptEventHandler(OnAcceptCrawler); CrawlerServer_.Listen(); } catch (System.Exception ex) { MessageBox.Show(string.Format("크롤러 리슨 서버 시작 실패 {0}", ex.Message)); return false; } return true; }