Hi,
Netcat can do it. Do I understand correctly, you want to connect to the quintum device on a port, and then send a CR, and record everything that is replied back into a file? If so:
echo | netcat host port > /tmp/file
E.g. if the host is 192.168.1.1 and it listens on 12345
echo | netcat 192.168.1.1 12345 > /tmp/file
Will record what it sends back to /tmp/file
Main Topics
Browse All Topics





by: arnoldPosted on 2009-04-02 at 15:04:52ID: 24055083
You can use Socket in perl, C to effectively programatically handle the establishment of the connection and exchange data as you see fit.
You could look into using expect.