SkillAgentSearch skills...

CPPWrappers

C++ wrappers for the pthread, socket and semaphore library

Install / Use

/learn @bend/CPPWrappers
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

A C++ wrapper for the thread, semaphore and socket library etc..

Overview

This library is a C++ wrapper for BSD sockets, pthread and semaphore. It has been tested on MacOS, but it should work on Linux

System

contains the Thread class, Semaphore class and Mutex class, Time class, PRNG class and Prime number generator class

####Net

contains the TcpSocket, TcpServer, UdpSocket, HtmlRequest classes.

####Fs

contains methods for using the file system: File, BufferedInput BufferedOutput, ...

####Parser

contains an HtmlParser (not fully implemete but should but should be sufficient for accessing values between tags)

Documentation

Online documentation can be found here

Install

Dependencies

You need cmake in order to compile and install the libraries

Install instructions

To install the library go to the project directory and type de following:

	mkdir build
	cd build
	cmake ../
	sudo make && make install

Examples

Small examples are located in the Tests folder. Basicaly the libraries are easy to use, notice that for the Thread class you need to subclass it and override the run() method

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated7mo ago
Forks8

Languages

C++

Security Score

82/100

Audited on Aug 20, 2025

No findings