doesn't break the build if feature is unsupported (use stub and return error if used)
prints a build message if feature is unsupported
It could be integrated into socksrv.c as well, but #include <netinet/in.h> must be included with _GNU_SOURCE or _DARWIN_C_SOURCE set (depending on the platform) and this doesn't play well with the way the server.h currently works.
This follows up on https://github.com/rofl0r/microsocks/pull/29
It could be integrated into
socksrv.c
as well, but#include <netinet/in.h>
must be included with_GNU_SOURCE
or_DARWIN_C_SOURCE
set (depending on the platform) and this doesn't play well with the way theserver.h
currently works.References: