mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-29 01:57:09 +03:00
examples: Remove references to sockaddr* structures
This means that apps need to have no knowledge of what IP support is available. Updates coap_uri_into_options() and coap_resolve_address_info() which have only been recently added to develop branch and are not in any previous release.
This commit is contained in:
1 parent
d4b9a53eed
commit
21bd1df95b
19 files changed
+220
-181
No files matched your search
@@ -167,7 +167,8 @@ init_coap_context_endpoints(const char *use_psk) {
|
||||
info_list = coap_resolve_address_info(&local, COAP_DEFAULT_PORT,
|
||||
COAPS_DEFAULT_PORT,
|
||||
0,
|
||||
scheme_hint_bits);
|
||||
scheme_hint_bits,
|
||||
COAP_RESOLVE_TYPE_REMOTE);
|
||||
for (info = info_list; info != NULL; info = info->next) {
|
||||
coap_endpoint_t *ep;
|
||||
|
||||
|
||||
Reference in new issue
Block a user