socket connect() returns 10053 !!!
i am calling connect of windows socket to connect to the remote Bluetooth device. The return value i get is 10053.
Can someone help me how to fix this error !!!
/********* code snipet **********/
SOCKADDR_BTH s;
s.family = AF_BTH;
s.btaddr = bt_addr;//remote BT device address
s.serviceClassId = NULL_GUID;
s.port = 0;
connect(sock,(sockaddr *) name, sizeof(SOCKADDR_BTH));
/********* code snipet **********/
|