Socket Communication as client

hey there,
i have build socket server in embedded hardware and i want to share data with ionic application .
is there any native library for socket communication? if possible then will it work with website?

What kind of socket? If you want to use WebSockets you can use several options, including socket-io. If you want TCP sockets, you will need to run it on an actual device and use cordova-sockets

1 Like

i explored about cordova-socket but iā€™m not familiar with js. Can you suggest me a ionic/ts example for that ?