I'm having trouble connecting to a bluetooth device in Windows Sockets 2. When I use the connect() function, it returns the error 10051, which according to MSDN means that "A socket operation was attempted to an unreachable network". What can I do to troubleshoot this? I'm pretty sure at this point it isn't a problem with my code, but here it is anyway: