Sidebar: Setting up a Socket
To create the rtelnet socket between S2 and the terminal server:
rtelnet -rot 172.16.1.3 4 /dev/test
To write a file out the S1 serial port /dev/ttyd3 at varying baud rates to the terminal server:
#!/bin/ksh
file=$1
exec </dev/ttyd3
exec >/dev/ttyd3
stty 4800
cat $file
To read the file on S2 from the rtelnet socket:
cat </dev/test
|