Cast iron was a common material for drain pipes in the first part of the 20th century. They're usually connected with couplers that feature rubber gaskets surrounded by stainless steel sheathing.