?
Solved

How do I listen to serial ports on Unix(Solaris)?

Posted on 1999-12-21
1
Medium Priority
?
348 Views
Last Modified: 2010-04-15
I have to write a Unix deamon which keeps listening to a serial port where an external internal interface keeps posting messages. I could not find any material as to how to keep listening to a serial port. Most of the books talk in detail about socket programming but not serial ports. The only code I could find on the internet was to open a serial port as a normal file and then read & write to it.

Could somebody help me out on this? Any help would be appreciated.

Thanks in advance

Nitin
0
Comment
Question by:nitink
1 Comment
 
LVL 10

Accepted Solution

by:
rbr earned 140 total points
ID: 2297414
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
There's never been a better time to become a computer scientist. Employment growth in the field is expected to reach 22% overall by 2020, and if you want to get in on the action, it’s a good idea to think about at least minoring in computer science …
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

589 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