2.2.8 MSB_MSG_RES_CONNECT
The server MUST send the MSB_MSG_RES_CONNECT packet in response to the MSB_MSG_REQ_CONNECT packet that is sent by the client.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Header (16 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
dwFlags |
|||||||||||||||||||||||||||||||
|
sin_family |
sin_port |
||||||||||||||||||||||||||||||
|
sin_addr |
|||||||||||||||||||||||||||||||
|
sin_zero |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
Header (16 bytes): An MSBMSGBASE packet that defines the packet header. The wMessageId field MUST be set to 0x0008.
dwFlags (4 bytes): An unsigned 32-bit integer that specifies ASF information. This field SHOULD be set to 0x00000002 if the ASF header is present in a Windows Media Station .nsc file; otherwise, this field MUST be set to 0x00000000. For information about .nsc files, see [MS-MSB] section 2.2.1.
-
Value
Meaning
0x00000000
ASF header NOT present in .nsc file
0x00000002
ASF header present in .nsc file
sin_family (2 bytes): An unsigned 16-bit integer. The sin_family field MUST be set to 2 if the media stream is being multicast; otherwise, it SHOULD be set to 0.
sin_port (2 bytes): An unsigned 16-bit integer transmitted in big-endian byte order. If the media stream is being multicast, the sin_port field MUST be set to the UDP port number for the requested channel; otherwise, it SHOULD be set to 0. The value of the sin_port field MUST be in the range 0x0000 to 0xFFFF, inclusive.
sin_addr (4 bytes): An unsigned 32-bit integer that is transmitted in big-endian byte order. If the media stream is being multicast, the sin_addr field MUST be set to a valid IPv4 multicast address for the requested channel; otherwise, it SHOULD be set to 0. The value of the sin_addr field MUST be in the range 0x00000000 to 0xFFFFFFFF, inclusive.
sin_zero (8 bytes): An array of 8 bytes. Each byte in the array SHOULD be set to 0 and MUST be ignored on receipt.