mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-25 08:31:04 +03:00
coap_resolve_address_info: Add in support for defining WebSocket ports
This commit is contained in:
1 parent
59892918cd
commit
3f8bb33807
11 files changed
+30
-17
No files matched your search
@@ -175,6 +175,8 @@ typedef enum coap_resolve_type_t {
|
||||
* @param address The Address to resolve.
|
||||
* @param port The unsecured protocol port to use.
|
||||
* @param secure_port The secured protocol port to use.
|
||||
* @param ws_port The unsecured WebSockets port to use.
|
||||
* @param ws_secure_port The secured WebSockets port to use.
|
||||
* @param ai_hints_flags AI_* Hint flags to use for internal getaddrinfo().
|
||||
* @param scheme_hint_bits Which schemes to return information for. One or
|
||||
* more of COAP_URI_SCHEME_*_BIT or'd together.
|
||||
@@ -185,6 +187,8 @@ typedef enum coap_resolve_type_t {
|
||||
coap_addr_info_t *coap_resolve_address_info(const coap_str_const_t *address,
|
||||
uint16_t port,
|
||||
uint16_t secure_port,
|
||||
uint16_t ws_port,
|
||||
uint16_t ws_secure_port,
|
||||
int ai_hints_flags,
|
||||
int scheme_hint_bits,
|
||||
coap_resolve_type_t type);
|
||||
|
||||
Reference in new issue
Block a user