Socket Factory has only one function which works for server and client code, and can do tls for both
This commit is contained in:
@ -201,8 +201,7 @@ namespace ix
|
||||
return status;
|
||||
}
|
||||
|
||||
WebSocketInitResult WebSocket::connectToSocket(std::shared_ptr<Socket> socket,
|
||||
int timeoutSecs)
|
||||
WebSocketInitResult WebSocket::connectToSocket(std::shared_ptr<Socket> socket, int timeoutSecs)
|
||||
{
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(_configMutex);
|
||||
|
Reference in New Issue
Block a user