I am trying to enter the following command in Mac terminal using telnet, however it does not return anything. Which keyboard combination should I use in order to enter the command?( I used ^D ^V ^M, they did not work )
CONNECT
login: admin
passcode: password
From the STOMP spec:
CONNECT
login: <username>
passcode:<passcode>
^@
The ^@ is a null (control-@ in ASCII) byte. The entire thing will be called a Frame in this doc. The frame starts with a command (in this case CONNECT), followed by a newline, followed by headers in a : with each header followed by a newline. A blank line indicates the end of the headers and beginning of the body (the body is empty in this case), and the null indicates the end of the frame.
To enter the nullbyte ^@ on a Mac OSX terminal:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With