-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing gethostname function (IDFGH-14028) #14849
Comments
esp_netif_get_hostname could replace the older approach for retrieving the hostname. |
Okay, I will get that tested as soon as possible. Is it possible to have the standard function call this function? As it is a bit weir having to do this in a library with code shared among many microcotrollers. |
Possibly, that may be a good use for this ticket (implement a default version of the API). In the projects I maintain I've included a standard version of this function in common code shared across a few projects. But it would be nice to have it included by default (same would go for |
Linking espressif/esp-protocols#671 for gai_strerror |
We will support these two functions ( For instance PS: Adding |
Answers checklist.
General issue report
The function gethostname is not defined anywhere, exactly as reported here: #1102 except in newer releases the lwip_tcp_ip_adapter component has been removed and the provided solution cannot be used anymore (nor should be in older releases as that component has been deprecated a long time ago).
The text was updated successfully, but these errors were encountered: