Adds the IPv4 address as a connection field (c) to the output buffer.
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. |
mccdSdpAddConnIP4 returns either MCCSDP_OK (function completed successfully) or MCCSDP_MEMORY_ERROR.
This example:
mccdSdpAddConnIP4 ( pc, "192.168.0.1" );
creates the following SDP output:
c=IN IP4 192.168.0.1