COM-ports

This is a discussion on COM-ports within the C Programming forums, part of the General Programming Boards category; hey everyone im writing a program that sends information from one PC to another, using COM1, with ReadFile() and WriteFile() ...

  1. #1
    Unregistered
    Guest

    COM-ports

    hey everyone

    im writing a program that sends information from one PC to another, using COM1, with ReadFile() and WriteFile()

    but how do I know which port is COM1??
    I thought of connecting a cable to a port and maybe theres a function that can check if something is connected to COM1, it will answer TRUE or FALSE or something...

    can someone help??
    /Anne

  2. #2
    Im a Capricorn vsriharsha's Avatar
    Join Date
    Feb 2002
    Posts
    192

    Thumbs up

    Hi Anne,
    give me your Email Id so that I can send over the code to you. I just have to refer the Memory location and would do it as soon as I get home.
    Regards,

  3. #3
    Unregistered
    Guest
    hallo

    my email is anne265@hotmail.com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program that monitors what programs are on what ports!
    By mabufo in forum C++ Programming
    Replies: 2
    Last Post: 03-11-2006, 11:42 AM
  2. virtual ports
    By royuco77 in forum Networking/Device Communication
    Replies: 5
    Last Post: 07-02-2005, 10:33 AM
  3. Control of ports
    By Blip in forum Networking/Device Communication
    Replies: 1
    Last Post: 05-02-2005, 09:04 AM
  4. Controlling ports
    By lockpatrick in forum Linux Programming
    Replies: 2
    Last Post: 06-09-2002, 11:58 AM
  5. Accessing Ports
    By Thantos in forum C Programming
    Replies: 6
    Last Post: 09-13-2001, 06:01 AM

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