Discussion:
TCP/IP over Bluetooth?
(too old to reply)
Timothy Daniels
2008-02-02 23:37:12 UTC
Permalink
Can TCP/IP be run over Bluetooth in Windows?
I'd like to use Bluetooth for simulating the Internet "cloud"
while developing server-client and server-server TCP/IP
communications without a router for college projects. I
have a few laptops available that are Bluetooth enabled,
and I'd like to use Bluetooth since all the laptops would
be in the same room.

*TimDaniels*
Michael K. O'Neill
2008-02-06 18:28:05 UTC
Permalink
Post by Timothy Daniels
Can TCP/IP be run over Bluetooth in Windows?
I'd like to use Bluetooth for simulating the Internet "cloud"
while developing server-client and server-server TCP/IP
communications without a router for college projects. I
have a few laptops available that are Bluetooth enabled,
and I'd like to use Bluetooth since all the laptops would
be in the same room.
*TimDaniels*
Yes, try something like

SOCKET s = socket (AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM);

In general, see "Bluetooth Programming with Windows Sockets" at
http://msdn2.microsoft.com/en-us/library/aa362928(VS.85).aspx

Mike

Loading...