-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Closed
Copy link
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Networking
Description
Is your enhancement proposal related to a problem? Please describe.
As an application developer, I would like a build not to fail, when offloaded sockets are activated, even when gethostname is used.
if(NOT CONFIG_NET_SOCKETS_OFFLOAD)
zephyr_library_sources(
getnameinfo.c
sockets_misc.c
)
endif()
Implementation:
| int z_impl_zsock_gethostname(char *buf, size_t len) |
Describe the solution you'd like
gethostname is available even if offloaded sockets are used.
Describe alternatives you've considered
None
Additional context
Please let me know, if this is technically not possible. I will close the issue happily.
Metadata
Metadata
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Networking