/* * IXSocketFactory.h * Author: Benjamin Sergeant * Copyright (c) 2018 Machine Zone, Inc. All rights reserved. */ #pragma once #include #include namespace ix { class Socket; std::shared_ptr createSocket(bool tls, std::string& errorMsg); std::shared_ptr createSocket(int fd, std::string& errorMsg); } // namespace ix