Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

How to receive data from ports ?

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
sebastien061497
Asked:
sebastien061497
1 Solution
 
e4monschCommented:
You can listen to the pty-ports. I think you can read them
like files: /dev/ptya1.


0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now