Check if still connected.
Synopsis
Declared in <util/sock.h>
[[nodiscard]]
virtual
bool
IsConnected(std::string& errmsg) const;
Return Value
true if connected
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
errmsg [out] |
The error string, if the socket has been disconnected. |
Created with MrDocs