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

Fill an in&lowbar;addr with this address&apos;s IPv4 value&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
GetInAddr(in&lowbar;addr* pipv4Addr) const;
----

== Return Value

True when this is an IPv4 address and the value was written&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pipv4Addr*
| Destination in&lowbar;addr to populate with the IPv4 value&period;
|===


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