Read COM Port with C

This is a discussion on Read COM Port with C within the Networking/Device Communication forums, part of the General Programming Boards category; Hello, I am trying to write a C program to read a RS232 COM port, but I can find very ...

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    1

    Question Read COM Port with C

    Hello,
    I am trying to write a C program to read a RS232 COM port, but I can find very little information on how to do it. (I am using Windows.) Thank you for your advice.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Search the forum - there's been several posts in the last couple of weeks on the subject, which all have been answered with links to even older threads.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Chinese pâté foxman's Avatar
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    404
    I'm not aware of the other threads matsp is talking, but you can also take a look directly at MSDN website.

    Communications Resources (MSDN)
    I hate real numbers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. bytes lost with partial read in UDP
    By mynickmynick in forum Networking/Device Communication
    Replies: 3
    Last Post: 03-31-2009, 02:06 AM
  2. serial port - read chars twice
    By matze in forum Linux Programming
    Replies: 1
    Last Post: 12-07-2007, 06:32 AM
  3. how to make parallel port read data
    By lwong in forum Windows Programming
    Replies: 0
    Last Post: 01-05-2004, 07:14 PM
  4. read com port in winapi
    By balle in forum Windows Programming
    Replies: 14
    Last Post: 10-21-2002, 12:39 PM
  5. how to read from the parallel port ????
    By fab102 in forum Linux Programming
    Replies: 3
    Last Post: 02-26-2002, 03:46 PM

Tags for this Thread


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