packet reader/writer passed