how to send data on a port n return on # prompt
Posted on 2003-12-10
I want to send some data or a packet to a tcp port on a socket.
# telnet <ipaddr> <port no> < test
where test is a file contains a packet.
It gives me acknowledgment, but it doesnt come out from the connection. And do not accept escape char eg. ^] or ^D.
I have to kill the process to terminate.
How to return on # prompt without killing the process?
Bcos i want to schedule the same process.