examples/ping: Add a ping example

This commit is contained in:
2025-10-30 00:02:13 -04:00
parent a00e9d3183
commit bb14ec20a7
4 changed files with 298 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
// Ping is sent by the client to the server. It may contain any number. This
// number will be returned to the client via a [Pong] message.
M0000 Ping I32
// Pong is sent by the server to the client in response to a [Ping] message, It
// will contain the same number as that message.
M0001 Pong I32