-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtcp.hpp
More file actions
22 lines (19 loc) · 775 Bytes
/
Copy pathtcp.hpp
File metadata and controls
22 lines (19 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* File: /lib/impl/socket/tcp.hpp
*
* This file is a part of cpplib project which is distributed under MIT License.
* See file LICENSE for full license details.
*
* Copyright (c) 2020-present Nikita Zuev (V.Slavski!) <[email protected]>
*/
#ifndef CPPLIB__lib__impl__socket__tcp__hpp
#define CPPLIB__lib__impl__socket__tcp__hpp
#include "../../../lib/debug/os.hpp"
#include "../../../lib/debug/platform.hpp"
#if defined(CPPLIB_PLATFORM_POSIX)
#include "../../../lib/impl_posix/socket/tcp.hpp"
#elif defined(CPPLIB_OS_WINDOWS)
#include "../../../lib/impl_windows/socket/tcp.hpp"
#else
#error "No lib.socket.impl.tcp implementation found for current platform/OS."
#endif // CPPLIB_PLATFORM_POSIX or CPPLIB_OS_WINDOWS
#endif // CPPLIB__lib__impl__socket__tcp__hpp