I’m trying to learn IPFS, my current goal is to build as simple system as I can which allows for one peer to pass a photo to another peer. I assume that the both peers are connected to the network, I also ignore the question of how to find the other peer (I’ll post a question about that separately). I also not looking for long-term storage in the network, after the receiving node has the image it stores it locally.
The question: is there a way to communicate between 2 nodes (assuming I know the PeerID of both)?
I can use the experimental pub-sub but it looks a bit overkill.
if I understand correctly assumes I run a web-server at your_app_host, right?
If so it’s not good.
The point is to use IPFS alone to communicate between the nodes without a central server.
the ipfs protocol does not depend on ipfs.io to discover clients, but if you are talking about bootstrap nodes then those also are not connected to ipfs.io, although some might be hosted on the website. i think whyareusleeping said that he wants to remove them in a future update or when the network is large enough.