Solved

How to receive data from ports ?

Posted on 1997-06-14
1
190 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
Comment Utility
You can listen to the pty-ports. I think you can read them
like files: /dev/ptya1.


0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now