[#Sock-IsSelectable] = xref:Sock.adoc[Sock]::IsSelectable :relfileprefix: ../ :mrdocs: Check if the underlying socket can be used for `select(2)` (or the `Wait()` method). == Synopsis Declared in `<util/sock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] virtual bool IsSelectable() const; ---- == Return Value true if selectable [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#