They're used inside the Livestatus feature which needs rework.
{
/**
- * A network stream.
+ * A network stream. DEPRECATED - Use Boost ASIO instead.
*
* @ingroup base
*/
{
/**
- * A TCP socket.
+ * A TCP socket. DEPRECATED - Use Boost ASIO instead.
*
* @ingroup base
*/
void Connect(const String& node, const String& service);
};
+/**
+ * TCP Connect based on Boost ASIO.
+ *
+ * @ingroup base
+ */
template<class Socket>
void Connect(Socket& socket, const String& node, const String& service)
{
namespace icinga
{
+/**
+ * A TCP socket. DEPRECATED - Use Boost ASIO instead.
+ *
+ * @ingroup base
+ */
class UnixSocket final : public Socket
{
public: