Go Down

Topic: EthernetIPAddress documentation error? (Read 972 times) previous topic - next topic


It seems that the IPAddress is not comma delimited as stated at http://arduino.cc/en/Reference/EthernetIPAddress
but rather delimited with '.'

I discovered this using the code 'client.connect(c_URL, 80)' , and not working with 'char c_URL[] = "146,64,28,16";' but works with 'char c_URL[] = "";'


The separators depend on context.

The IPAddress class takes four integer values, separated by commas, as arguments.

An IP address, when part of a URL character string, has four decimal values separated by periods.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131