3.1.5.7 Receiving a LinkMacToViewerReportRedirect Message

The client MUST perform the steps in section 3.1.5.2. Also, the client MUST verify that the LinkMacToViewerReportRedirect (section 2.2.4.9) message adheres to the syntax specified in section 2.2.4.9.<41>

The client MUST close the TCP connection on which it received the LinkMacToViewerReportRedirect (section 2.2.4.9) message.

The client MUST perform the initialization of the protocol, as specified in section 3.1.3, except that the Server-URL variable, the Trick-Mode-Rate variable, the UDP-Selected variable, the Packet-Pair-Packets-Expected variable, the Proxy-Address variable, and the Proxy-Port variable MUST NOT be initialized.

If the value of the RedirectType field in the LinkMacToViewerReportRedirect (section 2.2.4.9) message is 0x0001, the client MUST perform the following steps:

  1. The value of the Server-URL variable MUST be set to the value of the wszLocation field of the LinkMacToViewerReportRedirect (section 2.2.4.9) message.

  2. If the value of the Proxy-Port variable is not 0, the client MUST establish a TCP connection to the proxy using the IP address given by the value of the Proxy-Address variable and the port number given by the value of the Proxy-Port variable. Otherwise, the client MUST establish a TCP connection to the server by using the IP address and port number obtained by parsing the URL that is stored in the Server-URL variable.

If the value of the RedirectType field in the LinkMacToViewerReportRedirect (section 2.2.4.9) message is 0x0002, the client MUST perform the following step:

  • If the value of the wszLocation field of the LinkMacToViewerReportRedirect (section 2.2.4.9) message is an empty string, the client MUST establish a TCP connection to the server by using the IP address and port number obtained by parsing the URL that is stored in the Server-URL variable. Otherwise, the client MUST set the value of the Proxy-Port variable and Proxy-Port variable to the IP address and port number, respectively, that are obtained from the wszLocation field of the LinkMacToViewerReportRedirect (section 2.2.4.9) message. Then the client MUST establish a TCP connection to the proxy server given by the value of the Proxy-Address variable and the port number given by the value of the Proxy-Port variable.

The client MUST then send a LinkViewerToMacConnect (section 2.2.4.17) message by following the rules specified in section 3.1.4.1.1.

Show: