views:

6

answers:

0

Hi,

I have a bluetooth RFCOMM socket waiting in accept, after an incomming connection I send a command to the remote devie and read the answer with recv. This works perfect if I use the debugger or the debug build exe. In the release build I got a connection and send the command after that the select before recv is returning for receive. I try 10 times to read out the data but recv always returns 0.

As I said all works in debug mode. All code is C++.

Cloud anybody help me?

Thanks in advance, Ludwig