Αποστολή με SMS: Duality in inhomogeneous random graphs, and the cut metric