Skip to content

This is the library which implements C++ sockets wrapper

License

Notifications You must be signed in to change notification settings

AlexandarDjordjevic/Socket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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