PUB/SUB On IPFS-Running The Daemon On Multiple Devices(Same LAN)

I’m trying to run the daemon on multiple devices which are connected on the same network and I want to be able to create pub/sub topics on which the devices can communicate.

So far looking at the documentation I was able to run on a single device and the only success to broadcast to multiple devices on the same network and the same topic was by doing
ipfs bootstrap add <multiaddr>

I feel like I’m missing the point of IPFS. How would you do this?

My end goal is to implement a java application which will communicate across devices over tcp so if you know good knowledge bases that I should read please let me know.

It sounds to me like you might be encountering this issue.