November 22, 2024, 04:52:15 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Parallel port programming in linux  (Read 8162 times)

Offline zaheer031

  • New Member
  • Posts: 3
Parallel port programming in linux
« on: October 05, 2004, 11:09:16 AM »
I am doing programming with parallel port. If I directly
use the address of the parallel port i.e 0x 378 to
transfer a file from one comp to another it is working fine.
What I exactly want to do is that I want to transfer
a file into the parallel port at one side and I want to wait
at the other side to see if data has arrived at the other(reciever)side .
At the sending side I am sending data asynchronosly
i.e at a random time and I want to wait for the file
descriptor at the other side to see the arrival of the data.
I tried using ioctl  but couldnot get the desired output
Need all you guys help

Regards,
Zaheer