How tcp/ip stack handled ping request

manoj15
Posts: 8
Joined: Mon Apr 22, 2019 6:40 pm

How tcp/ip stack handled ping request

Postby manoj15 » Fri May 10, 2019 12:09 pm

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 ?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: How tcp/ip stack handled ping request

Postby ESP_Sprite » Mon May 13, 2019 10:19 am

ICMP requests/acknowledges ('pings') are handled internally in the LWIP stack.

Who is online

Users browsing this forum: No registered users and 265 guests