Not excatly sure what to call what I am asking for
I have a program that needs to save a set of strings and when asked requested send those strings to another program over a TCP connection. I need to store those strings such that if the computer is turned off it does not loose any of the strings it has collected since the last call to send (ie. it just picks up from where it was and starts collecting more strings). However, I do not want to duplicate a string once it is already successfully sent and received.
So - what I need is a way to read and write to a file in the same way I would a cue. Again - the reason for the file is to save the data if the machine is turned or more importantly looses power abruptly.
I have a program that needs to save a set of strings and when asked requested send those strings to another program over a TCP connection. I need to store those strings such that if the computer is turned off it does not loose any of the strings it has collected since the last call to send (ie. it just picks up from where it was and starts collecting more strings). However, I do not want to duplicate a string once it is already successfully sent and received.
So - what I need is a way to read and write to a file in the same way I would a cue. Again - the reason for the file is to save the data if the machine is turned or more importantly looses power abruptly.