how to communicate between two pc's through code ?

Posted on 2012-08-26
Last Modified: 2015-05-23
how  to connect pc to pc using blue tooth  through 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 code ?
 how to receive a value  from one pc to  another pc using code ?
Question by:softwareachiever

    Author Comment

    my operating system is windows xp.
    LVL 16

    Accepted Solution

    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 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:

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
    Video by: Grant
    The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now