Port Scanning

This is a discussion on Port Scanning within the C++ Programming forums, part of the General Programming Boards category; Hello there! I'm trying to find a c++ program that shows the signals or bin code that a printer port ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    1

    Question Port Scanning

    Hello there!
    I'm trying to find a c++ program that shows the signals or bin code that a printer port is sending to the printer from the computer in order to make an electronic application.
    Thanks in advance.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    Another one - boy, parallel port programming sure is popular at the moment
    Do a board search, this was discussed recently
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    23
    Okay, find out the address of the parallel port (no need for port scanning here--I'm thinking you didn't really mean "port scanning" as that either means scanning through all hardware ports or else scanning through all Internet connection ports (TCP/UDP/etc)) because the parallel port will only have a single hardware address.

    Also, read up on parallel port programming.

    ...and you'll probably want to do this in assembly language rather than in C++ since you are interfacing directly with the hardware.

    You other choice is to somehow find a device driver someone has made which does this and has a C API interface to it which you could then call in to to do your work.

    I am not a parallel port programmer, but if I were interested, those would be what I would do

  4. #4
    Registered User
    Join Date
    May 2004
    Posts
    23
    If you are programming under Linux, this http://freshmeat.net/projects/parapin/ is EXACTLY what you want

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  2. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  3. Segmentation Fault - Trying to access parallel port
    By tvsinesperanto in forum C Programming
    Replies: 3
    Last Post: 05-24-2006, 03:28 AM
  4. port scanning
    By HEADSH(+)T in forum C++ Programming
    Replies: 4
    Last Post: 04-23-2004, 02:44 AM
  5. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 03:59 PM

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