Unified secure socket name across platforms #4866

This commit is contained in:
Xinyu Hou 2015-07-24 20:45:50 +01:00 committed by Jerry (Xinyu Hou)
parent fedad2b8a1
commit b105bc8f42
3 changed files with 0 additions and 12 deletions

View File

@ -46,11 +46,7 @@
#include <sstream>
#include <fstream>
#if defined _WIN32
static const char s_networkSecurity[] = { "ns" };
#else
static const char s_networkSecurity[] = { "libns" };
#endif
//
// Client

View File

@ -27,11 +27,7 @@
// TCPSocketFactory
//
#if defined _WIN32
static const char s_networkSecurity[] = { "ns" };
#else
static const char s_networkSecurity[] = { "libns" };
#endif
TCPSocketFactory::TCPSocketFactory(IEventQueue* events, SocketMultiplexer* socketMultiplexer) :
m_events(events),

View File

@ -33,11 +33,7 @@
// ClientListener
//
#if defined _WIN32
static const char s_networkSecurity[] = { "ns" };
#else
static const char s_networkSecurity[] = { "libns" };
#endif
ClientListener::ClientListener(const NetworkAddress& address,
ISocketFactory* socketFactory,