[#Sock-SetNonBlocking] = xref:Sock.adoc[Sock]::SetNonBlocking :relfileprefix: ../ :mrdocs: Set the non‐blocking option on the socket. == Synopsis Declared in `<util/sock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] virtual bool SetNonBlocking() const; ---- == Return Value true if set successfully [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#