Skip to content

Add ICMP ping#38

Merged
gregnr merged 5 commits into
mainfrom
feat/ping
May 16, 2026
Merged

Add ICMP ping#38
gregnr merged 5 commits into
mainfrom
feat/ping

Conversation

@gregnr

@gregnr gregnr commented May 16, 2026

Copy link
Copy Markdown
Member

Adds ICMP API for ping. tcpip.js already supported ICMP echo replies implicitly via lwIP's built-in behaviour, but we didn't expose any outbound ping APIs. This adds a createPingSession() API on the NetworkStack instance which allows you to ping a host. The point of the ping session (over just a ping() method) is to provide a stable ICMP identifier + auto incrementing sequence numbers every time you call session.ping().

@gregnr gregnr merged commit c77e581 into main May 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant