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!
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
Post a Comment