[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2012-08-26
4
Medium Priority
?
187 Views
Last Modified: 2015-05-23
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 ?
0
Comment
Question by:softwareachiever
2 Comments
 

Author Comment

by:softwareachiever
ID: 38334201
my operating system is windows xp.
0
 
LVL 16

Accepted Solution

by:
hjgode earned 2000 total points
ID: 38335250
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.

http://inthehand.com/content/32feet.aspx

Here is an BT chat example: http://32feet.codeplex.com/SourceControl/changeset/view/99298#74233
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question