Search the Community
Showing results for tags 'client'.
Found 2 results
I set up Lightstreamer's QuickStart and it worked fine. I then made the changes needed to connect to push.cityindex.com, including getting a session ID from https://ciapi.cityindex.com/TradingAPI. . I get a client listener onServerError with errorCode = 60 errorMessage = “License not valid for this Client version”. The explanation from LightStreamer is "That message means that the client in use is newer than the license installed on the server.To use that client with that server, assuming them are compatible, you need to change the server license." I am using c# using Dotnet Standard Client version 5.0.5. So, appears to be a licensing problem between Gain Capital Labs and Lightstreamer. Another user posted at http://faq.labs.gaincapital.com/topic/2039-lightstreamer/?tab=comments#comment-3692 suggest using V 4.0.0. Unfortunately, Lightstreamer documentation is not helpful because they have upgraded all their sample code to v 5.0.5. Can you provide some sample c# code to start a price stream under 4.0.0? Regards, Chuck
How do I close and log out of Lighstreamer using DOTNET client? To login: LSClient lsclient = new LSClient(); var tableKey1 = lsclient.SubscribeTable(tableInfo1, mytablelistener, false); TableKey1 = tableKey1; All is good. However, when logging out: lsclient.UnsubscribeTable(TableKey1); I get an exception that says the client connection is closed and the push server continues sending update. Do I need to setup a listener to close Lightstreamer somehow to send the request when the connection is open, I don't get it. Exception thrown: 'Lightstreamer.DotNet.Client.SubscrException' in Lightstreamer_DotNet_PCL_Client.dll Error Unsubscribe Lightstreamer Client Connection closed >>>>>>> Please delete post the lsclient variable was duplicated.. MyBad... (hahaha)