I want to set up netcat in listening mode so that many clients can connect and they all receive the same file. The clients should be able to connect simultaneously...
Is this possible?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityI want to set up netcat in listening mode so that many clients can connect and they all receive the same file. The clients should be able to connect simultaneously...
Is this possible?
$ nc --listen --keep-open --send-only --exec "/usr/bin/cat /path/to/myfile" 0.0.0.0 5800
$ nc 127.0.0.1 5800 > recvfile