4.2 Reading and writing connection