Yes, good point, really it needs some time before the port is closed. Probably there is no empty buffer protection.
The right syntax is than
The right syntax is than
Code: (bash) [Select]
(echo "command 1"; echo "command 2"; sleep 0.01;) | telnet TARGETIP 23