in reply to Re^2: IO Socket buffer flushingin thread IO Socket buffer flushing
I am also encountering the issue where two successive writes are picked up by second read.
Not surprisingly, the same answer applies to you.