The V.42 specification defines an error correcting protocol for PSTN modems, based on HDLC and LAP. This makes it similar to an X.25 link. A special variant of LAP, known as LAP-M, is defined in the V.42 specification. A means for modems to determine if the far modem supports V.42 is also defined.