[riot-notifications] [RIOT-OS/RIOT] sys/posix: add module posix_netdb (#16853)

Martine Lenders notifications at github.com
Thu Sep 16 13:58:02 CEST 2021


@miri64 commented on this pull request.



> +-  err = netconn_gethostbyname(name, &addr);
+-  if (err != ERR_OK) {
++  int res = sock_dns_query(name, &addr, AF_INET);
++  if (res < 0) {

I don't quite understand this: why can't `netconn_gethostbyname()` be used here?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16853#pullrequestreview-756204308
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210916/a03ef535/attachment-0001.htm>


More information about the notifications mailing list