[#CNode-SetAddrLocal]
= xref:CNode.adoc[CNode]::SetAddrLocal
:relfileprefix: ../
:mrdocs:

May not be called more than once

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e2b2a8478), requires&lowbar;capability(0x7f2e2ad13bc8), requires&lowbar;capability(0x7f2e23032228), requires&lowbar;capability(0x7f2e26ededf8), requires&lowbar;capability(0x7f2e23158478), requires&lowbar;capability(0x7f2e36827cf8), requires&lowbar;capability(0x7f2e228b0418), requires&lowbar;capability(0x7f2e431dd1d8), requires&lowbar;capability(0x7f2e1b9fc4a8), requires&lowbar;capability(0x7f2e2b9d0048), requires&lowbar;capability(0x7f2e403d2748)&rsqb;&rsqb;
void
SetAddrLocal(xref:CService.adoc[CService] const& addrLocalIn);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *addrLocalIn*
| our local address as observed by the peer&period;
|===


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