[#NetGroupManager-GetGroup] = xref:NetGroupManager.adoc[NetGroupManager]::GetGroup :relfileprefix: ../ :mrdocs: Get the canonical identifier of the network group for address. == Synopsis Declared in `<netgroup.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::vector<unsigned char> GetGroup(xref:CNetAddr.adoc[CNetAddr] const& address) const; ---- == Description The groups are assigned in a way where it should be costly for an attacker to obtain addresses with many different group identifiers, even if it is cheap to obtain addresses with the same identifier. [NOTE] ==== No two connections will be attempted to addresses with the same network group. ==== == Return Value The network group identifier as a byte vector. == Parameters [cols="1,4"] |=== | Name| Description | *address* | The address to compute the network group for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#