/file2tcp

Send file contents to TCP destination

Primary LanguageGo

file2tcp

Send file content to TCP endpoint.

Cli options

  • -f: File path.
  • -h: Host. Defaults to 127.0.0.1.
  • -p: Port. Mandatory to specify.
  • -i: Interval. Give an interval of 1 second between every line passed.
  • -crlf: Specify line ending with CRLF.
  • -v: Verbose o/p of the lines read.