nitroshare-desktop icon indicating copy to clipboard operation
nitroshare-desktop copied to clipboard

Allow users to manually add peers by ip:port

Open jeffli678 opened this issue 7 years ago • 7 comments

Nitroshare is able to automatically discover the peers on a LAN most of the time. However, sometimes the multicast and mDNS is disabled on the school network so I cannot see any other peers on the network -- which effectively makes nitro unusable.

But I know somebody is there -- so Nitro should allow me to add a buddy by entering ip : port. Hopefully, this won't be too complex to implement. Also, for the users' convenience, the current IP should be displayed so they do not have to run a command to find it. Then I simply ask for other people's IP and then start sending the file.

jeffli678 avatar Apr 24 '18 03:04 jeffli678

Well there isn't currently a feature that allows an IP address to be input at transfer time but there is a plugin that allows static IP addresses to be input manually. Please see issue #179 for more details on how this works. Is that close enough to what you described?

nathan-osman avatar Apr 24 '18 04:04 nathan-osman

Here's a screenshot of the settings dialog:

screenshot from 2018-04-23 21-18-58

Once an IP address is added here, it will show up in the "Select Device..." dialog.

nathan-osman avatar Apr 24 '18 04:04 nathan-osman

Hi, is this a newer version? I installed the stable 0.3.4 on Windows 10 x64 and does not find it. I give a try to 0.4.0 and it says QT5Network.dll is missing and cannot start.

The good news is it looks like what I asked for. Although I am not sure if I can put a port into it. But since the default port is rarely blocked so it should be fine for me.

jeffli678 avatar Apr 24 '18 04:04 jeffli678

This is an unreleased version (0.4.0) that is still in development. There were installers available for download (built directly from source) but they are temporarily unavailable while the CI setup is being changed.

I can't remember off the top of my head if it allows the port to be specified, but if not, I will be sure to add that feature.

nathan-osman avatar Apr 24 '18 04:04 nathan-osman

Please let us know when we can test 0.4.0.

I tried to install it on Ubuntu but also failed. I added the dev PPA but still got version 0.3.4 -- the stable version.

jeffli678 avatar Apr 24 '18 05:04 jeffli678

"I tried to install it on Ubuntu but also failed. I added the dev PPA but still got version 0.3.4 -- the stable version."

Which release of Ubuntu are you using? The 0.4.0 builds are available for Xenial, Zesty, and Artful. I'll be adding Bionic shortly.

nathan-osman avatar Apr 25 '18 05:04 nathan-osman

I am using Ubuntu 16.04 LTS

jeffli678 avatar Apr 25 '18 11:04 jeffli678