title: 32feet bluetooth client fails to connect
body: <p>I'm trying to communicate with a bluetooth device as a client using 32feet.NET. The device is actually a microcontroller with a bluetooth module but currently I'm using my windows phone for testing. The devices are already paired and here's what I did. (devinfo is the DeviceInfo of the selected device)</p>
  
  <pre><code>private void ClientConnect()
  {
      var client = new BluetoothClient();
      client.SetPin("pin used for pairing");
      client.BeginConnect(devInfo.DeviceAddress, BluetoothService.SerialPort, BluetoothClientConnectCallback, client);
  }
  
  private void BluetoothClientConnectCallback(IAsyncResult ar)
  {
      var bluetoothClient = ar.AsyncState as BluetoothClient;
      bluetoothClient.EndConnect(ar);
      UpdateUI("Connected");
  
      var stream = bluetoothClient.GetStream();
  ...
  </code></pre>
  
  <p>But at this point: bluetoothClient.EndConnect(ar);
  I always get a SocketException mostly saying: 
  "<em>The requested address is not valid in its context</em>" </p>
  
  <p>and rarely it says:</p>
  
  <p>"<em>A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond</em>"</p>
  
  <p>Could you suggest something that might cause the issue?</p>