title: Program stuck on AcceptTcpClient
body: <p>I am using  a  modality emulator when i am connecting  program with emulator,
  program hang on Accept Tcp Client..Why? </p>
  
  <p>public virtual void Run()</p>
  
  <pre><code>{
    if (this.ss == null)
  
      return;
  
    TcpClient tcpClient = (TcpClient) null;
  
    while (!this.m_Stop)
  
    {
  
      try
  
      {
  
        tcpClient = this.ss.AcceptTcpClient();
  
        ThreadPool.QueueUserWorkItem(new WaitCallback(this.handler.Handle), (object) tcpClient);
  
      }
  
      catch (Exception ex)
  
      {
  
        MessageBox.Show(ex.ToString());
  
      }
  
     }
  
  }
  </code></pre>
  
  <p>Here ss is the TcpListener</p>