Page 1 of 1

How tcp/ip stack handled ping request

Posted: Fri May 10, 2019 12:09 pm
by manoj15
Hi all, I am curious how that it can handle ping request ?

say for example look at this code https://github.com/espressif/esp-idf/bl ... p_client.c

Where , in the tcp_client_task looks like the task only handles recv() and send() yet still we can do functions like ping and it works.. wondering how and how to learn the internals ?

Re: How tcp/ip stack handled ping request

Posted: Mon May 13, 2019 10:19 am
by ESP_Sprite
ICMP requests/acknowledges ('pings') are handled internally in the LWIP stack.