Socket function error
-
Here's some of my code:
... BtCard = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM); if(WSAGetLastError() == 10047) { cout << "Address family not supported by protocol family!" << endl; goto GetOut; } ...
The socket function call above gives me the error message listed. Checked the help documentation. Here's what "they" says on the use of the function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bluetooth/bluetooth/bluetooth_and_socket.asp[^]
Me, wrong!?! Nah, you just need to change your thinking to make me right.
-
Here's some of my code:
... BtCard = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM); if(WSAGetLastError() == 10047) { cout << "Address family not supported by protocol family!" << endl; goto GetOut; } ...
The socket function call above gives me the error message listed. Checked the help documentation. Here's what "they" says on the use of the function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bluetooth/bluetooth/bluetooth_and_socket.asp[^]
Me, wrong!?! Nah, you just need to change your thinking to make me right.
Hello Aaron, Please try the Visual C++ forum for API/VC++/MFC questions. This forum is for MC++. Best regards, Paul. Jesus Christ is LOVE! Please tell somebody.