Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MAX44000 PWM_Tone_Library nexpaq_mdk
Fork of LED_Demo by
dns_api_msg Struct Reference
As do_gethostbyname requires more arguments but doesn't require a netconn, it has its own struct (to avoid struct api_msg getting bigger than necessary). More...
#include <api_msg.h>
| Data Fields | |
| const char * | name | 
| Hostname to query or dotted IP address string. | |
| ip_addr_t * | addr | 
| Rhe resolved address is stored here. | |
| sys_sem_t * | sem | 
| This semaphore is posted when the name is resolved, the application thread should wait on it. | |
| err_t * | err | 
| Errors are given back here. | |
Detailed Description
As do_gethostbyname requires more arguments but doesn't require a netconn, it has its own struct (to avoid struct api_msg getting bigger than necessary).
do_gethostbyname must be called using tcpip_callback instead of tcpip_apimsg (see netconn_gethostbyname).
Definition at line 132 of file features/net/FEATURE_IPV4/lwip-interface/lwip/include/lwip/api_msg.h.
Field Documentation
| ip_addr_t * addr | 
Rhe resolved address is stored here.
Definition at line 136 of file features/net/FEATURE_IPV4/lwip-interface/lwip/include/lwip/api_msg.h.
| err_t * err | 
Errors are given back here.
Definition at line 141 of file features/net/FEATURE_IPV4/lwip-interface/lwip/include/lwip/api_msg.h.
| const char * name | 
Hostname to query or dotted IP address string.
Definition at line 134 of file features/net/FEATURE_IPV4/lwip-interface/lwip/include/lwip/api_msg.h.
| sys_sem_t * sem | 
This semaphore is posted when the name is resolved, the application thread should wait on it.
Definition at line 139 of file features/net/FEATURE_IPV4/lwip-interface/lwip/include/lwip/api_msg.h.
Generated on Tue Jul 12 2022 12:29:06 by
 1.7.2
 1.7.2 
    