This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你(们)好
我想知道是否有办法从服务器名称中获取网络格式的服务器 IP 地址?
我知道 cc3200中的这些功能。 比如
lRetVal = sl_NetAppDnsGetHostByName ((signed char *) g_acSNTPserver、strlen (g_acSNTPserver)、&g_sAppData.ulDestinationIP、sl_AF_iNet);
如果将服务器字符串作为 time-c.nist.gov 提供,您将获得 g_sAppData.ulDestinationIP 值2164657950l 。
对于 tm4c、对应的函数是什么
非常感谢
AV