srt icon indicating copy to clipboard operation
srt copied to clipboard

[FR] New app: srt-netcat

Open Phygon opened this issue 3 years ago • 3 comments

I suggest a new example application, which is a simple netcat-clone using the SRT protocol.

Example usage:

  • server: srt-nc -l 5555
  • client: srt-nc 10.10.10.10 5555

Alternative interface with URLs:

  • server: srt-nc srt://:5555/
  • client: srt-nc srt://10.10.10.10:5555/

Once connected, both endpoints forward their STDIN to the other endpoint's STDOUT.

Additionally, if given a command to execute, it will start a child process and redirect its STDIN/STDOUT instead:

  • server: srt-nc srt://:5555/ rsync --server --more --options

With this tool, a SRT connection (preferably encrypted) could be used to transfer files using rsync.

Phygon avatar Jun 30 '21 13:06 Phygon

Sounds interesting. If only a unidirectional forwarding is needed, then srt-file-transmit srt://:5555 file://con could be used for the purpose. Note however issue #646.

maxsharabayko avatar Aug 03 '21 11:08 maxsharabayko

srt-file-transmit.exe where to download?

QGB avatar Jun 07 '22 18:06 QGB

srt-file-transmit.exe where to download?

It is a sample app, a part of the SRT repo.

maxsharabayko avatar Jun 09 '22 09:06 maxsharabayko