1 Reply Latest reply on Feb 20, 2014 3:19 PM by LDiego_Intel

    EthernetClient with bytes array ip address incompatible

    ppatierno

      Hello,

      I have understood that all Arduino libraries are compatible with Intel Galileo but I think that could be a problem with Ethernet library.

      A lot of Arduino examples use EthernetClient class and connect() method with ip address as byte array ...

       

      byte[] server = { 64, 233, 187, 99 }

       

      and then calling client.connect(server, 80).

      The method returns always false in this way.

      If I use IPAddress class for declaring server ip address all works fine ...

       

      IPAddress server(64,233,187,99)

       

      Why ?

       

      Paolo