[#CNetAddr-SetIP]
= xref:CNetAddr.adoc[CNetAddr]::SetIP
:relfileprefix: ../
:mrdocs:

Copy the address value from another CNetAddr&period;

== Synopsis

Declared in `&lt;netaddress&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SetIP(xref:CNetAddr.adoc[CNetAddr] const& ip);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ip*
| The address to copy the value from&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
