Exemplo n.º 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));
     }
 }
Exemplo n.º 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;
 }