A gasketed pipe joint including a dual-functional, composite gasket, which in addition to forming a seal between a pipe bell and a spigot provides a molding surface for forming a bent retainer in the hub of the pipe or fitting. The dual-functional composite gasket comprises a first axially disposed portion formed of a non-elastomeric, substantially rigid, substantially non-resilient plastic material and has a first leading edge and a first trailing edge, and a second axially disposed portion, adjacent the first axially disposed portion, formed of an elastomeric material. Preferably, the gasket comprises a major portion of the non-elastomeric, substantially rigid, substantially non-resilient plastic and a minor portion of the elastomeric material.