Socket Factory has only one function which works for server and client code, and can do tls for both
This commit is contained in:
@ -148,7 +148,7 @@ namespace ix
|
||||
|
||||
std::string errorMsg;
|
||||
bool tls = protocol == "wss";
|
||||
_socket = createSocket(tls, errorMsg, _socketTLSOptions);
|
||||
_socket = createSocket(tls, -1, errorMsg, _socketTLSOptions);
|
||||
|
||||
if (!_socket)
|
||||
{
|
||||
|
Reference in New Issue
Block a user