# mccdSdpAddConnIP4

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

#### Prototype

uint32_t mccdSdpAddConnIP4 ( 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 IPV4 address, which is formatted as a string.

#### Return values

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

#### Example

This example:

mccdSdpAddConnIP4 ( pc, "192.168.0.1" );

creates the following SDP output:

c=IN IP4 192.168.0.1