DOKK / manpages / debian 10 / libexosip2-dev / eXosip2_network.3.en
eXosip2_network(3) libeXosip2 eXosip2_network(3)

eXosip2_network - eXosip2 network API


int eXosip_transport_set (osip_message_t *msg, const char *transport)
int eXosip_guess_localip (struct eXosip_t *excontext, int family, char *address, int size)

Modify the transport protocol used to send SIP message.

Parameters:

msg The SIP message to modify
transport transport protocol to use ('UDP', 'TCP' or 'TLS')

Find the current localip (interface with default route).

Parameters:

excontext eXosip_t instance.
family AF_INET or AF_INET6
address a string containing the local IP address.
size The size of the string

Generated automatically by Doxygen for libeXosip2 from the source code.

Thu Dec 15 2016 Version 4.1.0