diff --git a/Libraries/LibCore/CSocket.h b/Libraries/LibCore/CSocket.h index 28702306d3..6b18894390 100644 --- a/Libraries/LibCore/CSocket.h +++ b/Libraries/LibCore/CSocket.h @@ -15,6 +15,8 @@ public: }; virtual ~CSocket() override; + Type type() const { return m_type; } + bool connect(const String& hostname, int port); bool connect(const CSocketAddress&, int port); bool connect(const CSocketAddress&);