It should be possible. Are you having problems?
Do you mean doing both reading & writing in a single thread, or trying to read and write at exactly the same time? If it's the latter, then you...