In this paper we derive results concerning the connected components and the diameter of random graphs with an arbitrary i.i.d. degree sequence. We study these properties primarily, but not exclusively, when the tail of the degree distribution is regularly varying with exponent 1 − τ. There are three distinct cases: (i) τ> 3, where the degrees have finite variance, (ii) τ ∈ (2, 3), where the degrees have infinite variance, but finite mean, and (iii) τ ∈ (1, 2), where the degrees have infinite mean. These random graphs can serve as models for complex networks where degree power laws are observed. Our results are twofold. First, we give a criterion when there exists a unique largest connected component of size proportional to the size of th...