hi,
i'm not sure i post at the correct section, because I have one question on windows bluetooth stack. I understand in windows xp sp2 does have bluetooth stack for most of devices and windows sdk able to create RFCOMM connection by using socket. So can i create a socket for l2cap connection instead of RFCOMM?? I have read some articles said that microsoft bluetooth stack cannot access l2cap, is that mean that i couldn't create a l2cap connection for my bluetooth device?? I really quite confuse about this... hope there some help on this..
Currently i'm using windows sdk with visual c++ express to create socket.
SOCKET s = ::socket(AF_BTH, SOCK_STREAM, BTHPROTO_L2CAP);
When compile, it doesn't have any error, but when i debugging and it said no such services with error code WSASERVICE_NOT_FOUND 10108
why i can't create socket for l2cap?? Is i'm using the wrong type of socket, if yes, which type of socket should i use to create socket??
Thank you...