You didn't realise that the feature is already there by now. Its about optimisation the usage already...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS(wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf(wiki)
READ THE IOS FAQ!: iOS FAQ(wiki)