diff options
Diffstat (limited to 'include/ocl/detail/posix/net_config.hpp')
| -rw-r--r-- | include/ocl/detail/posix/net_config.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/ocl/detail/posix/net_config.hpp b/include/ocl/detail/posix/net_config.hpp new file mode 100644 index 0000000..671d4ba --- /dev/null +++ b/include/ocl/detail/posix/net_config.hpp @@ -0,0 +1,22 @@ +/* + * File: detail/net_config.hpp + * Purpose: Network Config file of the OCL.CORE library. + * Author: Amlal El Mahrouss (amlal@nekernel.org) + * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License. + */ + +#ifndef __OCL_NET_CONFIG +#define __OCL_NET_CONFIG + +#include <stdexcept> +#include <arpa/inet.h> +#include <sys/socket.h> +#include <string> +#include <cstddef> +#include <cstring> + +#ifdef OCL_WINDOWS +#error !!! "Windows is not supported yet for <unique_socket>" !!! +#endif // OCL_WINDOWS + +#endif // __OCL_NET_CONFIG
\ No newline at end of file |
