Version of http://mbed.org/cookbook/NetServicesTribute with setting set the same for LPC2368
dns_api_msg Struct Reference
|const char *||name|
|Hostname to query or dotted IP address string. |
|Rhe resolved address is stored here. |
|This semaphore is posted when the name is resolved, the application thread should wait on it. |
|Errors are given back here. |
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).
|const char* name|
Generated on Tue Dec 18 2018 02:24:35 by 1.7.2