The connection between the filter waste discharge piping and the p trap of a swimming pool shall be made by means?

The connection between the filter waste discharge piping and the p trap of a swimming pool shall be made by means?