Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5991555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:24:14+00:00 2026-05-22T23:24:14+00:00

I am creating a program which can send test or data to Bluetooth devices.

  • 0

I am creating a program which can send test or data to Bluetooth devices. For this purpose I want to use the virtual serial ports supplied by Bluetooth software.

Q. Is there is any way to send network stream to virtual serial port like socket programming in LAN?

Q. How do I receive data form Bluetooth? Does it is in the form of Network Stream?

Q. Which is the fast method to send and receive data over Bluetooth?

Because I not only send text to the device but also Images and other type of data.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:24:15+00:00Added an answer on May 22, 2026 at 11:24 pm

    1) Not certain about Bluetooth virtual ports, but I suspect that you can just use readFile/writeFile, (or the ‘Ex’ asynchronous versions), to the handle returned by CreateFile(), just like a ‘normal’ serial port. If so, you can handle the handle, (sorry!), just like the socket handle raised in a client socket connect() or a server listener accept(). So you should be able to use a dedicated thread, an I/Ocompletion routine, or IO completion ports to communicate with the virtual port.

    I have done something like this before, but with Delphi and a ‘real’ serial port and a client network connection. I used an IO completion routine where an ‘IOhandler’ class was transferred to the completion routine in the ‘hEvent’ field. The serial port and client socket classes were IOhandler descendants, so the same IO completion routine code worked for both. It worked OK, (eventually:). I don’t know of any reason why it would not work OK in C#.

    2) Again, certain about Bluetooth virtual ports. Given that many Bluetooth implementations can supply these virtual COM ports as an interface, then the transport must surely be an ‘octet stream’, just like TCP or a ‘real’ COM port.

    3) On Windows? I suspect IO completion ports. Probably dosn’t matter much because Bluetooth bandwidth is not that great compared with what Windows can handle.

    Rgds,
    Martin

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a test program to test the functionality of program which calcultes
I am creating object-detection program on Mac. I want to use iSight in manual
i am creating a bluetooth based server program in Bluez which basically handles connections
I am creating a C# program which is using a SQL database. I want
My program uses a NetworkOutput object which can be used to write data to
I am creating a program that needs to store the user's data in encrypted
Let's say I'm creating a program in C that needs to use a tempfile.
I'm creating a program which follows certain rules to result in a count of
Program design: Class A, which implements lower level data handling Classes B-E, which provide
I'm creating an application that needs to use some kernel level modules, for which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.