free() pointer in sender, relaxed print output, read path from buffer in receiver, make both files more similar