Re: Reading data from a tty
- From: "ERICM76903" <ericm76903@xxxxxxxxx>
- Date: 20 Apr 2006 05:43:13 -0700
<From Paul Laymon>
This can be trivial or it can be complicated. There are two things:
1) Do you want to append each burst to a single file or have one file forI need to create a single file for each burst of data
each burst?
2) If the answer to #1 is a separate file for each burst, how do you knowThere is no EOF character. However, each burst will start with
you've reached the end of the "burst" of data? A special character or EOF
indicator or some amount of idle time?
ASCII character seq(2).
Thus. When the program sees seq(2), then it will know that a new
file needs to be created containing the data that comes in next, until
another seq(2) character is received.
Paul, I will check out the C code link that you posted.
Also, Bob, can "netty" be configured to run in the manner described
above?
I have been lucky enough to get another day to get this one done, but I
am getting close to a deadline.
Gee, I guess I should have not sleep thru some of those classes in
college. :)
Thanks, Eric
.
- Follow-Ups:
- Re: Reading data from a tty
- From: Bob_M
- Re: Reading data from a tty
- From: bennett . tony
- Re: Reading data from a tty
- References:
- Reading data from a tty
- From: ERICM76903
- Re: Reading data from a tty
- From: laixsoft
- Reading data from a tty
- Prev by Date: Problems with JNI-Call in Servlet
- Next by Date: Re: Reading data from a tty
- Previous by thread: Re: Reading data from a tty
- Next by thread: Re: Reading data from a tty
- Index(es):
Relevant Pages
|