[#CConnman-PrivateBroadcast-ProxyForIPv4or6]
= xref:CConnman.adoc[CConnman]::xref:CConnman/PrivateBroadcast.adoc[PrivateBroadcast]::ProxyForIPv4or6
:relfileprefix: ../../
:mrdocs:

Check if private broadcast can be done to IPv4 or IPv6 peers and if so via which proxy&period; If private broadcast connections should not be opened to IPv4 or IPv6, then this will return an empty optional&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;Proxy&gt;
ProxyForIPv4or6() const;
----

== Return Value

the proxy to use, or an empty optional if IPv4&sol;IPv6 private broadcast is disabled&period;


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