Solved

How to receive data from ports ?

Posted on 1997-06-14
1
201 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
nagios remote hosts 9 56
Why isnt it sending mail from my php but is from my server 10 45
awk file 6 55
Using sort and uniq to pare down large syslog 6 30
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

822 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