IoTivity-Lite
oc_dns.h File Reference
#include "oc_endpoint.h"
#include "oc_export.h"
#include "oc_helpers.h"
#include "util/oc_features.h"

Functions

int oc_dns_lookup (const char *domain, oc_string_t *addr, transport_flags flags)
 dns look up More...
 

Function Documentation

◆ oc_dns_lookup()

int oc_dns_lookup ( const char *  domain,
oc_string_t addr,
transport_flags  flags 
)

dns look up

Parameters
domainthe url
addrthe address
flagsthe transport flags
Returns
int 0 = success