title: Async Call back is not working in BeginReceive
body: <p>Async Callback in BeginReceive function is not working.</p>
  
  <p>Messages are being received in my port. But my code is not able to receive and process the message.</p>
  
  <pre><code> private void StartListening()
      {
          try
          {
              ar_ = udp.BeginReceive(Receive, new object());
          }
          catch(Exception ex)
          {
  
          }
      }
      private void Receive(IAsyncResult ar)
      {
          IPEndPoint ip = new IPEndPoint(IPAddress.Any, 7785);
          byte[] bytes = udp.EndReceive(ar, ref ip);
          string message = Encoding.ASCII.GetString(bytes);
          AppendTextBox("Received: " + string.Join("-", bytes) + Environment.NewLine);
  
      }
  
      public void Send(byte[] MsgBytes)
      {
          try
          {
  
              UdpClient client = new UdpClient();
              IPEndPoint ip = new IPEndPoint(IPAddress.Parse(txtbx_ip.Text), 7785);
              client.Send(MsgBytes, MsgBytes.Length, ip);
              client.Close();
              AppendTextBox("Sent: " + string.Join("-", MsgBytes) + Environment.NewLine);
              StartListening();
          }
          catch (Exception ex)
          {
              AppendTextBox("Exception occured: " + ex + Environment.NewLine);
          }
      }
  </code></pre>
  
  <p>The Debug point never hits the Receive function after it comes to BeginReceive.
  Another information is that, I am using a Static IP in my system. (I am not sure if this is the problem).</p>