Random graphs and network communication