summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CTCPSocket.h
blob: c183d6e1c5a88a46cf9be02c73de204d5ae6283d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <AK/Badge.h>
#include <LibCore/CSocket.h>

class CTCPServer;

class CTCPSocket final : public CSocket {
    C_OBJECT(CTCPSocket)
public:
    virtual ~CTCPSocket() override;

private:
    CTCPSocket(int fd, CObject* parent = nullptr);
    explicit CTCPSocket(CObject* parent = nullptr);
};