How to usevorlib
Operation systems
I wrote it on linux, however, it should work on other unixes as well. I tried to make it windows-compatible as well, however, I did not test it. Some things might not work on windows (like server scanning console).
How to integrate into a project
Just copy it's folder to your project's directory and add all cpps into it, so it will be compiled. (don't forget to link them to the project as well, if it is not done automatically). Then, just include header: #include "vorlib/vorlib.h", or headers one by one. It may work to place the headers into system include directory and compile the cpps and put it into the lib directory, but I did not try it.
How to compile it
There is just one point about the compilation. You have to define VORLIB_UNIX=1 or VORLIB_WINDOWS=1 to distiungish between different parts of system-dependent code. Some parts wont compile without it and some parts wont work correctly. As some aditional flags are:
-
VORLIB_NO_IPV6
This turns off ipv6 support for server class. It may be usefull, if you compile this on system, that does not support ipv6 and it would not compile with it. It is not tested, but I tried to put all ipv6 specific things under compile-time ifs.
Makefile
If you write for linux and for some reson don't use the autoconf and automake things, you may be interested in a makefile.