It seems like your code assumes that at the moment it gets the offset it "must be on a newline", which you can never be certain of. Essentially, you are seeking to the last character written at the moment of the seek, which could be anywhere in a line.
In reply to Re: Reading only new lines from a file
by snopal
in thread Reading only new lines from a file
by dsheroh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |