Hello,
I'm trying to create a simple client/server app using bluetooth. I've had no problem with the server app running on my laptop but I'm having major issues with the client that's supposed to run on my Pocket PC (Windows Mobile 6 Classic). For some reason the call to

socket (AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM)

always results in a 10047 error == not supported even though the built in bluetooth apps work just fine.

Does anyone know how to solve this or know of some other practical way to communicate over bluetooth in C++?

/spacewarp