2.5 Echo-Request

The Echo-Request is a PPTP control message sent by either peer of a PAC-PNS control connection. This control message is used as a "keep-Alive" for the control connection.  The receiving peer issues an Echo-Reply to each Echo-Request received. As specified in Section 3, if the sender does not receive an Echo Reply in response to an Echo-Request, it will eventually clear the control connection.

       0                   1                   2                   3

       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |            Length             |       PPTP Message Type       |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |                         Magic Cookie                          |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |     Control Message Type      |           Reserved0           |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |                          Identifier                           |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

LengthTotal length in octets of this PPTP message, including the entire PPTP header.

PPTP Message Type1 for Control Message.

Magic Cookie0x1A2B3C4D.

Control Message Type5 for Echo-Request.

Reserved0This field MUST be 0.

IdentifierA value set by the sender of the Echo-Request that is used to match the reply with the corresponding request.