Unified secure socket name across platforms #4866
This commit is contained in:
parent
fedad2b8a1
commit
b105bc8f42
|
@ -46,11 +46,7 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
#if defined _WIN32
|
|
||||||
static const char s_networkSecurity[] = { "ns" };
|
static const char s_networkSecurity[] = { "ns" };
|
||||||
#else
|
|
||||||
static const char s_networkSecurity[] = { "libns" };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Client
|
// Client
|
||||||
|
|
|
@ -27,11 +27,7 @@
|
||||||
// TCPSocketFactory
|
// TCPSocketFactory
|
||||||
//
|
//
|
||||||
|
|
||||||
#if defined _WIN32
|
|
||||||
static const char s_networkSecurity[] = { "ns" };
|
static const char s_networkSecurity[] = { "ns" };
|
||||||
#else
|
|
||||||
static const char s_networkSecurity[] = { "libns" };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
TCPSocketFactory::TCPSocketFactory(IEventQueue* events, SocketMultiplexer* socketMultiplexer) :
|
TCPSocketFactory::TCPSocketFactory(IEventQueue* events, SocketMultiplexer* socketMultiplexer) :
|
||||||
m_events(events),
|
m_events(events),
|
||||||
|
|
|
@ -33,11 +33,7 @@
|
||||||
// ClientListener
|
// ClientListener
|
||||||
//
|
//
|
||||||
|
|
||||||
#if defined _WIN32
|
|
||||||
static const char s_networkSecurity[] = { "ns" };
|
static const char s_networkSecurity[] = { "ns" };
|
||||||
#else
|
|
||||||
static const char s_networkSecurity[] = { "libns" };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ClientListener::ClientListener(const NetworkAddress& address,
|
ClientListener::ClientListener(const NetworkAddress& address,
|
||||||
ISocketFactory* socketFactory,
|
ISocketFactory* socketFactory,
|
||||||
|
|
Loading…
Reference in New Issue