[#CService-GetSAFamily] = xref:CService.adoc[CService]::GetSAFamily :relfileprefix: ../ :mrdocs: Get the address family == Synopsis Declared in `<netaddress.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] sa_family_t GetSAFamily() const; ---- == Return Value AF_UNSPEC if unspecified [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#