ladybird/Userland/Libraries/LibCore/TCPSocket.h

25 lines
422 B
C
Raw Normal View History

/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Badge.h>
#include <LibCore/Socket.h>
namespace Core {
class TCPSocket final : public Socket {
C_OBJECT(TCPSocket)
public:
virtual ~TCPSocket() override;
private:
TCPSocket(int fd, Object* parent = nullptr);
explicit TCPSocket(Object* parent = nullptr);
};
}