/// <summary> /// Creates a new SCS Server using an EndPoint. /// </summary> /// <param name="endPoint">Endpoint that represents address of the server</param> /// <returns>Created TCP server</returns> public static IScsServer CreateServer(ScsEndPoint endPoint) { if (System.Reflection.Assembly.GetCallingAssembly().GetName().Name == "Remote Server") { return(endPoint.CreateServer()); } else { return(null); } }
/// <summary> /// Creates a new SCS Server using an EndPoint. /// /// </summary> /// <param name="endPoint">Endpoint that represents address of the server</param> /// <returns> /// Created TCP server /// </returns> public static IScsServer CreateServer(ScsEndPoint endPoint) { return(endPoint.CreateServer()); }
/// <summary> /// Creates a new SCS Server using an EndPoint. /// </summary> /// <param name="endPoint">Endpoint that represents address of the server</param> /// <returns>Created TCP server</returns> public static IScsServer CreateServer(ScsEndPoint endPoint) => endPoint.CreateServer();