private void GetClientEndpoint() { var clientFactory = new ClientFactory(); var clientConfig = new ClientConfiguration(); clientConfig.MaxSessions = 10; client = clientFactory.MakeNew(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 3000), clientConfig); }