[#GetLocalAddress] = GetLocalAddress :mrdocs: Return the best local address to use when talking to the given peer. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CService.adoc[CService] GetLocalAddress(xref:CNode.adoc[CNode] const& peer); ---- == Return Value the best local address to advertise to that peer. == Parameters [cols="1,4"] |=== | Name| Description | *peer* | the peer we would advertise an address to. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#