/* * Networking.h ***************************************************************************** * Copyright (C) 2012, bitmovin Softwareentwicklung OG, All Rights Reserved * * Email: libdash-dev@vicky.bitmovin.net * * This source code and its use and distribution, is subject to the terms * and conditions of the applicable license agreement. *****************************************************************************/ #ifndef PORTABLE_NETWORKING_H_ #define PORTABLE_NETWORKING_H_ #if defined _WIN32 || defined _WIN64 #include #include #else #include #include #include /* superset of previous */ #include #include #include #include #define closesocket(socket) close(socket) #define WSAStartup(wVersionRequested, lpWSAData) 0 #define WSACleanup() {} typedef unsigned char WSADATA; #endif #endif // PORTABLE_NETWORKING_H_