UIPEthernet not connecting with IP


i'm trying use uipethernet library using enc28j60 ethernet module, connect server. using url, works fine. using ip address, fails returning zero:

works:
      if (int result = client.connect("www.google.com",80))

doesn't work:
ipaddress myip(216,58,198,100);
      if (int result = client.connect(myip, 80))

and yes, have double-checked ip address, pinged it, tried alternatives, etc. :)

i using tcpclient example part of uipethernet release.

any appreciated!



Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > UIPEthernet not connecting with IP


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'