The code below is part of an attempt to connect to a bluetooth phone from the emulator. I lookup info about the phone via RHostResolver and that works fine, address is correct. socket.open works to but socket.connect wont work. Status returns -34 and it wont connect. Anyone have a clue what goes wrong?
..
..
RSocket socket;
User::LeaveIfError(socket.Open (socketServ,pInfo.iAddrFamily,KSockSeqPacket,KL2CAP));
socket.Connect(sockAddr,status);
User::WaitForRequest(status);
if (status != KErrNone)
return;




