eXosip2 network API
[General purpose API.]


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

Function Documentation

int eXosip_transport_set ( osip_message_t *  msg,
const char *  transport 

Modify the transport protocol used to send SIP message.

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

int eXosip_guess_localip ( int  family,
char *  address,
int  size 

Find the current localip (interface with default route).

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

Generated on Wed Feb 13 01:25:39 2008 for libeXosip2 by  doxygen 1.5.4