Solved

How to receive data from ports ?

Posted on 1997-06-14
1
202 Views
Last Modified: 2013-12-15
Hello!
I'd like to know how to receive data from the serial and the parallel ports under linux.
If anybody has a source code of a program doing just that (in C it would be perfect!), thanks for letting me know!

Thanks in advance
Sincerely,
Sebastien
0
Comment
Question by:sebastien061497
1 Comment
 
LVL 2

Accepted Solution

by:
e4monsch earned 100 total points
ID: 1628186
You can listen to the pty-ports. I think you can read them
like files: /dev/ptya1.


0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question