Re: RS232 Redirector Program in C using Linux



On 21 Jan., 16:42, William Pursell <bill.purs...@xxxxxxxxx> wrote:
On Jan 21, 5:42 am, Steffen <steffen.ku...@xxxxxxxxx> wrote:

I need some help with a c program I am writing.

I can't answer your immediate questions, but I do
have a thought: you don't need to use
signals. You might be happier if you use
select/poll/epoll instead. That might simplify
the design and make it easier to track down
the error, if it doesn't eliminate the error
completely.

Really, Is this better than using the receive interrupt? ... Can some
body give me a skeleton how to do this with polling? I can not find
any good information about that in connection with tty ... :-( I don't
understand why my transferred JPEG gets corrupted - on my other test
station i receive exactly the same number of bytes.. but some have
changed.. so the JPEG File is not valid anymore... if i only do
testing by writing text into the GTKTerm, i alway receive the same
text... this seems to work..
.



Relevant Pages