[#Sock-IsSelectable]
= xref:Sock.adoc[Sock]::IsSelectable
:relfileprefix: ../
:mrdocs:

Check if the underlying socket can be used for `select(2)` (or the `Wait()` method)&period;

== Synopsis

Declared in `&lt;util&sol;sock&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
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]#
