// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see . #pragma once #if _WIN32 #include ///< socket #include #else #include ///< socket #include ///< sockaddr_in #include ///< getsockname #include ///< close #endif #define SOCK_INVALID_INDEX -1