[#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(0x7f950f15de38), requires&lowbar;capability(0x7f950f1ed148), requires&lowbar;capability(0x7f950aff0828), requires&lowbar;capability(0x7f9503033728), requires&lowbar;capability(0x7f95236c21d8), requires&lowbar;capability(0x7f952527b948), requires&lowbar;capability(0x7f950ec80f98), requires&lowbar;capability(0x7f950dc347c8), requires&lowbar;capability(0x7f951df90368), requires&lowbar;capability(0x7f9524e49e08), requires&lowbar;capability(0x7f950f7240a8)&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]#
