Understanding data communication in networks