/// <summary> /// Create socket session for Houdini Engine. /// </summary> /// <param name="hostName">Network name of the host.</param> /// <param name="serverPort">Network port of the host.</param> /// <param name="autoClose"></param> /// <param name="timeout"></param> /// <returns>True if successfully created session.</returns> public static bool CreateThriftSocketSession(string hostName, int serverPort, bool autoClose, float timeout, bool logError) { CheckAndCloseExistingSession(); _defaultSession = CreateSessionObject(); return _defaultSession.CreateThriftSocketSession(true, hostName, serverPort, autoClose, timeout, logError); }