Changeset View
Changeset View
Standalone View
Standalone View
src/netbase.cpp
Show All 19 Lines | |||||
#ifndef WIN32 | #ifndef WIN32 | ||||
#include <fcntl.h> | #include <fcntl.h> | ||||
#endif | #endif | ||||
#include <boost/algorithm/string/case_conv.hpp> // for to_lower() | #include <boost/algorithm/string/case_conv.hpp> // for to_lower() | ||||
#include <boost/algorithm/string/predicate.hpp> // for startswith() and endswith() | #include <boost/algorithm/string/predicate.hpp> // for startswith() and endswith() | ||||
#if !defined(HAVE_MSG_NOSIGNAL) && !defined(MSG_NOSIGNAL) | #if !defined(HAVE_MSG_NOSIGNAL) | ||||
#define MSG_NOSIGNAL 0 | #define MSG_NOSIGNAL 0 | ||||
#endif | #endif | ||||
// Settings | // Settings | ||||
static proxyType proxyInfo[NET_MAX]; | static proxyType proxyInfo[NET_MAX]; | ||||
static proxyType nameProxy; | static proxyType nameProxy; | ||||
static CCriticalSection cs_proxyInfos; | static CCriticalSection cs_proxyInfos; | ||||
int nConnectTimeout = DEFAULT_CONNECT_TIMEOUT; | int nConnectTimeout = DEFAULT_CONNECT_TIMEOUT; | ||||
▲ Show 20 Lines • Show All 697 Lines • Show Last 20 Lines |