You are reading a single comment by @Pat and its replies. Click here to read the full conversation.
  • This seems to work ok for me .. with this code for example ..

    E.enableWatchdog(10);
    
    var eth = require("WIZnet").connect();
    eth.setIP();
    
    
    var http = require("http");
    http.get("http://www.bbc.co.uk", function(res) {
     res.on('data', function(data) {
      console.log(data);
     });
    });
    
    

    So I get back the contents of whatever page I specify .. http://www.bbc.co.uk here

    Though it only works once unless I reboot in between .. executing the same code twice gives me a "ERROR: Socket error -7 while sending"

About

Avatar for Pat @Pat started