Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dns.h
Go to the documentation of this file.
1
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_NET_DNS_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_NET_DNS_H_
12
13#include <stdint.h>
14
15#include <zephyr/net/net_ip.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
42int infuse_sync_dns(const char *host, uint16_t port, int family, int socktype,
43 struct sockaddr *addr, socklen_t *addrlen);
44
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* INFUSE_SDK_INCLUDE_INFUSE_NET_DNS_H_ */
int infuse_sync_dns(const char *host, uint16_t port, int family, int socktype, struct sockaddr *addr, socklen_t *addrlen)
Perform a DNS query for a host.