wengzhe commented on issue #12194:
URL: https://github.com/apache/nuttx/issues/12194#issuecomment-2067731940

   It is weird that the tutorial doesn't need `CONFIG_NET_ICMP_SOCKET`, the 
ping command uses `socket(AF_INET,SOCK_DGRAM,IPPROTO_ICMP)` at the very 
beginning 
(https://github.com/apache/nuttx-apps/blob/c1ec7db8a9420217365dd7c2ff27b15bb09272e5/system/ping/ping.c#L461),
 and the `CONFIG_NET_ICMP_SOCKET` is always needed for `IPPROTO_ICMP` socket 
since it was added (https://github.com/apache/nuttx/commit/cccc86da)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to