docx
pdf
Actually, reading and writing messages concurrently require you to use thread programming skills. But this homework does not require you to do so..
Just ping pong based programming is O.K. with this homework.
However, I want you to try using thread programming programming skills.