read graph from the client fd