Skip to content

AktugHakan/socket-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket Manager

C++ abstraction over linux socket system calls.

Getting Started

Clone the repo

Clone the repo into your code base as a gitmodule or git repo.
To clone as a git repo:

git clone https://github.com/AktugHakan/socket-manager.git

Build

Socket Manager library has its built-in makefile
In the library directory run

make

to compile the library. When compilation is successful, libSockets.a file is generated in the libraries main folder.
You have to give the libSockets.a file to your linker. Add the following arguments to your compiler flags

-L<library_path> -lSockets

Cross-Compilation

Built-in Makefile also supports cross-compiling. To cross-compile the library:

make CROSS_COMPILE=<compiler_prefix>

for example, if your cross-compiler is arm-linux-gnueabihf-gcc you should give arm-linux-gnueabihf- as compiler prefix argument.

About

C++ abstraction over linux socket system calls.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published