examples/ping: Add a ping example
This commit is contained in:
7
examples/ping/protocol.pdl
Normal file
7
examples/ping/protocol.pdl
Normal 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
|
||||
Reference in New Issue
Block a user