Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229350

TCP sockets in ionic

$
0
0

i believe the socket is set to paused mode on open
so you need to turn that off.

(window).chrome.sockets.tcp.setPaused(SocketId, false);

also, you should setup the receive handler BEFORE you send, as there would be a race condition if the
sender sent before the receive was ready… (it might cause the connection to break)

the server side just sends back ,right… doesn’t open a NEW connection back…


Viewing all articles
Browse latest Browse all 229350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>