Closed techtonik closed 4 years ago
do not send file before server appear. It do not know the destination.
A listener is the server peer that only receive files.
A listener is the server peer that only receive files.
Does it mean that for send file from same where ndrop --listen
run as server I should create one more instance as client (ndrop --send
) in separate terminal window?
Yes. One instance is running ndrop --listen another instance is running ndrop --send
OK, but what would happen if running ndrop --send
instance would send /tmp/100M.bin
to running ndrop --listen
instance (which use /tmp/
folder for receiving files by default) on same device?
When running
ndrop
without--listen
or--send
argument, it is possible to wait for any server to appear, send the file to it and quit. Nitroshare server is sending UDP packets to port 40816 every 5 seconds or so.A listener can catch the first packet, extract IP and send a file to it.
P.S. It may worth to add
nitroshare
tag to the repository.