Coder Social home page Coder Social logo

paultcn / async-bsd-socket-lib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from langroodi/async-bsd-socket-lib

0.0 0.0 0.0 23.74 MB

Non-blocking BSD (POSIX) network socket library over TCP/IP for Liunx

License: MIT License

C++ 94.75% CMake 5.25%

async-bsd-socket-lib's Introduction

Asynchronous BSD Socket Library

example workflow

This is a non-blocking BSD (POSIX) network socket library over TCP/IP and Inter-process Communication (IPC) for Liunx. The library is a wrapper around the POSIX socket programming and IPC system calls which hires Linux kernel edge-triggered polling mechanism (epoll) to provide an async network/inter-process communication. The library supports following communications:

  • TCP
  • UDP Unicast
  • UDP Multicast
  • FIFO (Named Pipe)

Dependecies

The current library dependencies are as follows:

  • Cpp Standard: 14
  • Cmake mimimum version: 3.14
  • Compiler:
    • GCC C/C++ Compiler (x86-64 Linux GNU): 11.2.0; or
    • Clang C/C++ Compiler (x86-64 PC Linux GNU): 14.0.0
  • Google Test: v1.12.1
  • Linux kernel minimum version: 2.6

Documentation

The library documentation is available from GitHub Pages which is powered by Doxygen .

Samples

The library samples build is disabled by default. To be able to build the library with the samples, following bash command can be used:

cmake -S . -B build -Dbuild_samples=ON
cmake --build build
# To run the tests:
cd build && ctest

async-bsd-socket-lib's People

Contributors

langroodi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.