/** \file ExtraSocket.h \brief Define the socket for ultracopier \author alpha_one_x86 \licence GPL3, see the file COPYING */ #ifndef EXTRASOCKET_H #define EXTRASOCKET_H #include #ifdef Q_OS_UNIX #include #include #else #ifndef NOMINMAX #define NOMINMAX #endif #include #endif /** \brief class to have general socket options */ class ExtraSocket { public: /** \brief class to return always the same socket resolution */ static std::string pathSocket(const std::string &name); static char * toHex(const char *str); }; #endif // EXTRASOCKET_H