Hi,
I think that Data Sockets are not that smart. They work as a global variable; what you write them, they stay until the Data Socket server is shutdown. What I did once was making the reader read the value and overwriting with a 0 value which would be the signal that there's no new value to be read. Another option is the writer to add a prefix to the real data (a 1 for instance) so the writer writes "1 + the data" and the reader reads it and writes a zero instead. The reader knows that if the string starts with 1, it has sense, filters it and uses the data. If it starts with zero, there's no new value to be read.
Makes any sense?
Marce