msg is copied to receiver's r_buf from transmiter's t_buf