These types of pipes are generally connected with bell and spigot joints or flanged joints: