ports

This is a discussion on ports within the A Brief History of Cprogramming.com forums, part of the Community Boards category; how may ports are there usually on a system?? how do i use the outpw() and inpw() in c++ if ...

  1. #1
    I'm Back
    Join Date
    Dec 2001
    Posts
    556

    Lightbulb ports

    how may ports are there usually on a system??

    how do i use the outpw() and inpw() in c++ if i want to access a particular port?

  2. #2
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    No replies so far... i wonder why.... .... ....

    AAHA, i got it, i should post this in c++ forum.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,759
    > No replies so far... i wonder why.
    Because you're far too impatient to wait for a reply

    > how may ports are there usually on a system?
    The intel processors have a port address space of 65536 - but normally, very few are used.

    > how do i use the outpw() and inpw() in c++
    That would depend on your operating system. Ports typically have direct access to the hardware, so protected operating systems do not allow direct access - you have to use a provided driver.

    A good source of information on what each port does is here
    http://www-2.cs.cmu.edu/afs/cs/user/...WWW/files.html

  4. #4
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    >Because you're far too impatient to wait for a reply

    Actually not, i'm so impressed by the quick response to the doubts of so many people (i might as well add correct answers too) that i was wondering what happened

    A lot of time when i think that i know the answer to this ques. somebody has already answered and i think that was a fast reply man..

    This is what makes this so good...


    BTW thanks for the info, Salem.

    i hope the "..far too impatient.." wasn't a

  5. #5
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    In the above post i said
    "This is what makes this so good... "
    what i mean is this site is so good ( a typo )

    I would also want to thank Bubba and others who helped me with
    the password program post.

    It's quite late though. Sorry about that.

  6. #6
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    No problem.

    If you want another doc about ports you can get Ralph Brown's Interrupt List and download all the files for it. Also get the RBIL viewer for Win9X - this viewer can also compile the ports listings into one master list - very nice.

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, 12:42 PM
  2. virtual ports
    By royuco77 in forum Networking/Device Communication
    Replies: 5
    Last Post: 07-02-2005, 11:33 AM
  3. Control of ports
    By Blip in forum Networking/Device Communication
    Replies: 1
    Last Post: 05-02-2005, 10:04 AM
  4. Controlling ports
    By lockpatrick in forum Linux Programming
    Replies: 2
    Last Post: 06-09-2002, 12:58 PM
  5. Accessing Ports
    By Thantos in forum C Programming
    Replies: 6
    Last Post: 09-13-2001, 07:01 AM

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