Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Linux Development & Programming => Topic started by: zaheer031 on October 05, 2004, 11:09:16 AM

Title: Parallel port programming in linux
Post by: zaheer031 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