blob: 9316132dd48578e0bcc98bc1ff3fa991e639e0bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
* 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);
};
}
|