JS library keeps connecting and disconnecting

By comparing the two examples… Sesame Street stuff… :musical_score:one of these things is not like the other…

SSL

var blynk = new Blynk.Blynk(AUTH,
  options= { addr:"127.0.0.1", port:8441 }
);

TCP

var blynk = new Blynk.Blynk(AUTH, options = {
  connector : new Blynk.TcpClient( options = { addr:"127.0.0.1", port:8442 } )  // NOTE port should now be 8080
});
2 Likes