3.1.5.3 Over UDP

The Multicast Session Initiation Request Packet is received by the server on the UDP port specified in section 1.9.

The server MUST validate that the request packet specifies WDSMCSE_OPT_NAMESPACE, WDSMCSE_OPT_CONTENT and WDSMCSE_OPT_MAC_ADDRESS options.

The server:

MUST match the value of the Namespace variable to the Name property (section 3.1.1.1) of registered multicast namespaces.

MUST verify that AllowUnauthenticated (section 3.1.1.1) is set to TRUE (0x00000001).

MUST query the content provider identified by the ContentProvider property (section 3.1.1.2) for the content specified by the Content variable in the request packet, in order to validate that the client is allowed access to content.

If the request packet specifies WDSMCSE_OPT_IPV6_CAPABLE, and it is set to 1, and the server is capable of setting up multicast session for IPv6, then the server MUST set up the multicast session using IPv6; otherwise the server MUST set up the multicast session using IPv4.

The server MUST set the server and client security modes to WDSMCTP_SEC_CHECKSUM.

The server MUST query the multicast session and add the following options to the reply packet:

WDSMCSE_OPT_MULTICAST_ADDR, WDSMCSE_OPT_MULTICAST_PORT, WDSMCSE_OPT_SERVER_ADDR, WDSMCSE_OPT_SERVER_PORT, WDSMCSE_OPT_CONTENT_SIZE, WDSMCSE_OPT_TOTAL_BLOCKS, WDSMCSE_OPT_BLOCK_SIZE, WDSMCSE_OPT_SESSION_ID.