UDP connection example in ionic?

Hi, i am currently doing remote control RC car project with the help of the android application .So I am decided to do it in ionic framework.First screen of the application is wifi scanner. First scan all wifi device near by surrounding and then connected to my RC car wifi device. I am need to control the RC by my mobile application. so i am near most done. But I am want to send accelerometer value to RC car wifi device. In android they pass the value by UDP. I am need a example for an a UDP connection in ionic 3 framework.
Can you please reply as soon as possible.


maybe try https://www.npmjs.com/package/cordova-plugin-chrome-apps-sockets-udp as suggested in earlier post in this forum: How to send udp packet

or ask @Tommertom he seems like hed had it working at some point