Hi,
I am trying to copy set an IPAddress object with the IP from another IPAddress object.
I am using the following code which is throwing an error on compile;
IPAddress ip1;
IPAddress ip2(192.168.1.1);
ip1 = ip2;
How can I copy the IP from ip2 into ip1?
Appreciate any help.
Cheers,
Claude
Using IPAddress object
Re: Using IPAddress object
Exactly what error are you getting?I am using the following code which is throwing an error on compile
The assignment operator= for the class should copy it Ok.
Who is online
Users browsing this forum: No registered users and 27 guests