Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.11 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.11 KB

Socket

The Socket library provides the foundations of encapsulating in C++ classes the POSIX Sockets. The purpose of this library is to simplify POSIX socket usage.

Supported platforms / recommended toolchains

This is a C++11 library which depends only on the C++11 compiler and standard library.
Supported platform are:

  • Linux -- clang or gcc
  • MacOS -- XCode (clang)

Building

This project can stand alone or be included in larger projects. CMake files are included for your convenience to generate a build system to compile the source code and link them into programs you can run.

There are two distinct steps in the build process using CMake:

Generation of the build system, using CMake Compiling, linking, etc., using CMake-compatible toolchain

Prerequisites

CMake version 3.8 or newer C++11 toolchain compatible with CMake for your development platform

Project tree

Sockets
├─ .gitignore
├─ CMakeLists.txt
├─ LICENSE
├─ README.md
├─ Test
├─ include
│  └─ Network
│     └─ Socket.hpp
└─ src
   └─ Socket.cpp