Transport Context

The server context contains name-value pairs that describe the underlying network protocol (UDP or TCP) that is used when passing data from the server to the client. There is a unique context for each client, and it lasts only as long as the client is connected to the server. The following table identifies the context values defined by Windows Media Services.

Name

Value (data type)

Key

Description

WMS_TRANSPORT_CONTEXT_DATA_TRANSPORT

String

5

This is the name of the underlying transport protcol. Valid values are UDP, TCP, or Interleaved. Interleaved means that the data is sent over the control connection.

WMS_TRANSPORT_CONTEXT_CLIENT_PORT

long

7

The client expects to receive data on this port.

WMS_TRANSPORT_CONTEXT_CLIENT_FEEDBACK_PORT

long

16

The client expects to receive feedback messages on this port.

See Also (General)

See Also (Visual Basic .NET)

See Also (C#)

See Also (C++)