• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

how to communicate between two pc's through vb.net code ?

how  to connect pc to pc using blue tooth  through vb.net 2005  ?

I want to communicate pc to pc  using blue tooths

for example I  inserted a blue tooth on usb port in a pc. like that I  inserted  a blue tooth another one pc on usb port.
 how to connect between   both of these pc's through bluetooths  ?
 how to send a value  from one pc to another pc using vb.net code ?
 how to receive a value  from one pc to  another pc using vb.net code ?
1 Solution
softwareachieverAuthor Commented:
my operating system is windows xp.
As far as I understand your questions, you have three options:
1. Pair the PCs and use a virtual serial com port to communicate. In VBNET you have to use the serial port class to communicate. I assume there are plenty of examples out there.
2. Pair the PCs and use Bluetooth socket to communicate directly via a network socket using IP Endpoints.
3. Pair the PCs and use one of the pre-defined Bluetooth profiles like OBEX, ftp, see http://en.wikipedia.org/wiki/Bluetooth_profile for more. But I think using SPP would meet your needs best. On the other hand you can create your own service profile on both PCs and then use that to communicate.

There is 32feet net whare you can get libraries and examples in using BT for discovery, pairing etc.


Here is an BT chat example: http://32feet.codeplex.com/SourceControl/changeset/view/99298#74233
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now