3.1.4.1 Request to Configure the Server

When the higher layer needs to configure the server to receive content, it MUST cause the client to send a PushSetup request to the server as detailed in the remainder of this section.

The higher layer MUST provide the URL that will be specified in all requests sent by the client. The URL specifies a "publishing point" on the server, which is the destination of the ASF data packets that the client intends to stream to the server.

If the InitialRequest value is 0, then this is the first request that is sent by the client, the client MUST perform the initialization of the protocol as specified in section 3.1.3, and set the InitialRequest value to 1.

The client MUST then establish a TCP connection to the server, using the IP address and port number obtained by parsing the URL as specified in [RFC2616] section 3.2.2. Use of HTTP proxy servers is permitted, in which case the TCP connection is made to the proxy server specified by the higher layer instead of to the server specified in the URL. If a proxy server is used, the value of the UsingProxy flag in the abstract data model MUST be set to 1.

Next, the client MUST send the PushSetup request to the server, as specified in section 3.1.4.1.1.