Home| superdarn |src.bin|tk|tcpip| rtfitacftofit Index

rtfitacftofit

Syntax
rtfitacftofit --help
rtfitacftofit [-t timeout] [-L logname] [-T timename] [-pf portname] [-if pidname] [-lp lport] host rport
rtfitacftofit -rpf [-t timeout] [-L logname] [-T timename] [-pf portname] [-if pidname] [-lp lport] host rportname
Synopsis

Convert a fitacf format TCP/IP data stream to a fit format stream.

Options
--helpprint the help message and exit.
--versionprint the RST version number and exit.
-t timeoutset the time to wait before resetting the connection to timeout seconds
-L lognamelog connections and information in the file logname. By default, connections are recorded in log.rt.
-T timenamelog the time that the last packet was received in the file timename. By default, the time is recorded in time.rt.
-pf portnamerecord the port number that the server is listening for connections on in the file portname. By default, the port is recorded in port.id.
-if pidnamerecord the process Identifier (PID) of the server in the file pidname. By default, the PID is recorded in pid.id.
-lp lportforce the server to listen on the local port number port. By default, the server requests a port number from the Operating System.
hosthostname or IP number of the system to connect to.
rportport number to connect to on the server.
-rpfThe remote port number is stored in a text file.
rportnamefilename of the text file containing the remote port number.
Description

Convert a fitacf format TCP/IP data stream to a fit format stream.

This task can be used to reformat a TCP/IP data stream to supply legacy clients.

Examples
rtfitacftofit -L log -pf port.id -if pid.id -lp 5000 peanut.jhuapl.edu 1024

Reformat the fitacf data stream from the port 1024 on the server peanut.jhuapl.edu. The port number is recorded in the file "port.id", the process identifier is recorded in the file "pid.id", and logs of all transactions are recorded in the file "log.yyyymmdd" where yyyymmdd is the date.

rtfitacftofit -L log -pf port.id -if pid.id -rpf localhost port.gbr

Reformat the fitacf data stream served from the port listed in "port.gbr" on this host. The port number is recorded in the file "port.id", the process identifier is recorded in the file "pid.id", and logs of all transactions are recorded in the file "log.yyyymmdd" where yyyymmdd is the date.