Hi,
How do we send a byte array using mosh?
From the documentation I can see:
sock send -i 0 -l 100000
This specifies the socket and the length.
But how is the actual data sent?
Can we append it as ?
sock send -i 0 -l 100000 "\x0a\xo1....."
Hi,
How do we send a byte array using mosh?
From the documentation I can see:
sock send -i 0 -l 100000
This specifies the socket and the length.
But how is the actual data sent?
Can we append it as ?
sock send -i 0 -l 100000 "\x0a\xo1....."
Hi,
You could try using the same "sock send" command. For example, you can try with
sock send -i 0 -d ”hello world”
for sending string through the socket.
Best regards,
Dejan
I understand sending string. Wanted to check how to send bytes.
Found the answer:
sock send -i 0 -d "01 02 00 01..." --hex