Why use two different ports for reading and writing?

Why not just open one socket and read/write on it?

// Json