How do you send and recieve info from serial ports?

This is a discussion on How do you send and recieve info from serial ports? within the C++ Programming forums, part of the General Programming Boards category; I am writing a program that needs to recieve information from a serial port. I have never had experience with ...

  1. #1
    Unregistered
    Guest

    How do you send and recieve info from serial ports?

    I am writing a program that needs to recieve information from a serial port. I have never had experience with such a thing. Any help/information on this topic would be greatly appreciated.

    Thanks,

    Joe

  2. #2
    Registered User raimo's Avatar
    Join Date
    Jun 2002
    Posts
    107
    Depending on what platform are you doing this, there is much information on the internet. Search with Google would give you many pages:
    http://www.google.com/search?q=serial+port+programming

  3. #3
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    I assume it's something from Microsoft. If it's DOS, io.h I'm sure has something. I read about it a while ago - I think the resources from cprn() inherited their code from it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sending data over UDP from serial port
    By forumguy in forum Linux Programming
    Replies: 0
    Last Post: 04-25-2009, 03:10 PM
  2. Socket or send() problem?
    By Achy in forum C Programming
    Replies: 5
    Last Post: 06-09-2006, 02:09 PM
  3. answer calls and setup to recieve data using TAP
    By mk_xyon in forum C Programming
    Replies: 3
    Last Post: 11-13-2004, 08:39 PM
  4. How can i send "ok"to my hyperterminal?
    By ooicheesan in forum C Programming
    Replies: 3
    Last Post: 10-14-2004, 10:22 AM
  5. recieve data, then send data to all other clients
    By b00l34n in forum Networking/Device Communication
    Replies: 6
    Last Post: 07-25-2004, 12:13 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21