- move linux network interface names into ini file for easier management in the future

This commit is contained in:
SoftCoder
2016-06-01 20:16:34 -07:00
parent c5aff25a94
commit ad4314fb29
4 changed files with 34 additions and 20 deletions

View File

@@ -153,6 +153,7 @@ protected:
time_t lastSocketError;
static string host_name;
static std::vector<string> intfTypes;
public:
Socket(PLATFORM_SOCKET sock);
@@ -163,6 +164,7 @@ public:
static const char * getLastSocketErrorText(int *errNumber=NULL);
static string getLastSocketErrorFormattedText(int *errNumber=NULL);
static void setIntfTypes(std::vector<string> intfTypes) { Socket::intfTypes = intfTypes; }
static bool disableNagle;
static int DEFAULT_SOCKET_SENDBUF_SIZE;
static int DEFAULT_SOCKET_RECVBUF_SIZE;