Skip to content

skystriker1997/SkyNetlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkyNetlib

Overview

SkyNetlib is a C++ network library that I developed, encompassing a well-established framework and a demonstrated application. The library's core mechanism adheres to the reactor pattern, utilizing epolls to monitor file descriptors and assigning appropriate callback functions for event handling (read/write). To optimize computer resource utilization, each epoll's execution is assigned to a dedicated thread.

UML Diagram: UML

 

Structure

.src/                                   <== source code of library

.include/                           <== header files

.application/                     <== test files that could be executed to verify the functionality

.static_files/                     <== store static files, an important part is my elaboration of algorithms & data structures

 

Tested on

Ubuntu 20.04.5

 

Prerequisites

Clang >= 6.0 or GCC >= 5.0

CMake >= 3.8

 

Build

git clone https://github.com/skystriker1997/skynetlib.git /your/directory

cd /your/directory; mkdir build; cd build

cmake /your/directory

cmake --build .

 

Inspiration

The design of event-driven mode is inspired by muduo developed by Shuo Chen.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published