First of all, JUCE has no built-in solution for audio streaming over network. So you’d need to build that part yourself or see if there is a ready-to-use C++ library out there that implements this.
Then, from an architecture view, you want to make sure that you run a separate thread that handles all the networking stuff. The audio callback should just push samples into a large enough lock free queue that the networking thread then reads from.
If you are looking for examples, are you looking for general plugin examples or are you already familiar with how to create basic audio plugins and look for examples specific to audio streaming over network?