mccdSdpAddConnIP6

Adds the IPV6 address as a connection field (c) to the output buffer.

Prototype

uint32_t mccdSdpAddConnIP6 ( MCC_SDP_CONTEXT_W * context, const char * address)

Argument

Description

context

Pointer to the MCC_SDP_CONTEXT_W structure that stores an SDP message as you create its components.

address

Pointer to the origin IPV6 address, which is formatted as a string.

Return values

mccdSdpAddConnIP6 returns either MCCSDP_OK (function completed successfully) or MCCSDP_MEMORY_ERROR.

Example

This example:

mccdSdpAddConnIP6 ( pc, "fe80::1" );

creates the following SDP output:

c=IN IP6 fe80::1