cordova local communication wifi any plugins available for multiplayer game/app

I'm searching for mobile local communication with wifi I am going to develop communication game, so I selected cordova-plugin-zeroconf and I try this with a lot of struggles, now it's working but I don't know this is a correct plugin for a single page multiplayer game is any plugins or ideas there? like the latest technology with both platform support android and ios

note:- I choose Cordova in this part no change

please help me :{ Thanks

Happy coding :)