예제 #1
0
 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));
     }
 }
예제 #2
0
 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;
 }