libcsdbg  1.28
C++ exception (and generic) stack trace debug library
bool csdbg::tcpsockbuf::is_connected ( ) const
inlinevirtual

Check if the socket is connected to its peer.

Returns
true if the socket is connected, false otherwise

Definition at line 122 of file tcpsockbuf.cpp.

References csdbg::streambuf::m_handle.

123 {
124  return m_handle >= 0;
125 }
i32 m_handle
Stream handle (descriptor)
Definition: streambuf.hpp:43