Parallel Port File Transfer between 2 Hosts?

I want to implement a parallel port file transfer program
for a Posix compliant Operating System. It is similar to Linux.
The program should be as fast as possible (>=50kbytes/sec);
similar to the performance of the Laplink software.

I'm looking for an efficient low level file transfer protocol
for the parallel port. I'm using a standard Laplink cable.

Would be great if there is any source code available!

Thanks for your help!
Daniel
danigrafAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

EatEmAndSmileCommented:
I was wondering if doing a:

 cat filename > /dev/parport0

 wouldn't be enough to do the task...

 Just some thoughts...
0
GarrettZillaCommented:
Take a look at PLIP, Parallel Line IP.  Full source is available, with Linux, in /usr/src/linux/drivers/net/plip.c. It works with the standard Laplink cable
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
danigrafAuthor Commented:
I forgot to add that it also has to work from Linux to Windows 95/98. Is that a problem with PLIP?

Thanks.
0
GarrettZillaCommented:
I know that it works to DOS; I'm afraid that I don't know about Windows.  According to the PLIP mini-HOWTO, nobody knows...

http://www.linuxdoc.org/HOWTO/mini/PLIP.html

I have seen references to it working with Win95, but I don't know... They say to do under Windows:

Start Menu-Setup-Control Panel-Add/Remove Programs-Windows Setup-
Communications-Direct Cable Connection.

I would think that you could modify the source enough to make something work, even if it wasn't compatible with normal PLIP.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux OS Dev

From novice to tech pro — start learning today.