-
Notifications
You must be signed in to change notification settings - Fork 0
ECHO
Young Yu edited this page May 26, 2024
·
6 revisions
Sends a value to the server, then the server sends the exact same value back.
echo <value>
-
value
: The value that the server should echo back. Required.
In the example below we simply echo hello world!
.
> echo "hello world!"
hello world!
For how to send commands directly through the TCP connection, see the protocol section.
ECHO <value>
-
value
: The value that the server should echo back. Required.
ECHO hello
would be encoded as:
4\r\nECHO5\r\nhello