#ifndef SOCKET_COMMON_H #define SOCKET_COMMON_H #include #include #include #define DEBUG_ON - uncomment this to have debug messages #ifdef DEBUG_ON #define g_print_debug(...) g_print(__VA_ARGS__) #else #define g_print_debug(...) {} #endif #endif