-
September 23rd, 2010, 06:56 PM
#1
.Net Client Question
HI,
What do I need to specify connect to the frame on www.lightstreamer.com using the DotNetClientStockDemo project?
I notice that the url 'createsession.txt' is coded in there. What's wrong with changing that to .js? Also, I have the following parameters in the 'connInfo':
ConnectionInfo connInfo = new ConnectionInfo();
connInfo.Adapter = "DEMO";
//connInfo.Constraints = ;
//connInfo.ContentLength = ;
//connInfo.EnableStreamSense = ;
//connInfo.KeepaliveMillis = ;
//connInfo.Password = ;
//connInfo.Polling = true;
//connInfo.PollingIdleMillis = 30000;
//connInfo.ProbeTimeoutMillis = ;
//connInfo.ProbeWarningMillis = ;
//connInfo.PushServerControlUrl = ;
//connInfo.PushServerUrl = ;
//connInfo.ReconnectionTimeoutMillis = ;
//connInfo.StreamingTimeoutMillis = ;
//connInfo.User = ;
connInfo.PushServerUrl = pushServerUrl;
What else do I need to specify to connect to this data in the same was as the browser does by doing the following two posts:
LS_phase=9802&LS_domain=lightstreamer.com&LS_polli ng=true&LS_polling_millis=0&LS_idle_millis=0&LS_cl ient_version=4.4&LS_adapter_set=DEMO&
LS_phase=9804&LS_domain=lightstreamer.com&LS_polli ng=true&LS_polling_millis=0&LS_idle_millis=30000&L S_client_version=4.4&LS_adapter_set=DEMO&LS_old_se ssion=S71fc1ac7afc26625T3916805&
Thanks in advance.
-
September 24th, 2010, 11:17 AM
#2
Hi,
Lightstreamer Servers speaks two different protocols when talking to JavaScript clients and to all the other clients. So, the .NET Client library uses a text-based protocol, which is fully documented in the "Lightstreamer\DOCS-SDKs\sdk_client_generic\doc\Network Protocol Tutorial.pdf" document. On the other hand, the JavaScript-based protocol is implemented in the Web Client library and is not documented.
-
July 5th, 2011, 12:49 PM
#3
Web Client protocol in .NET client
Is there any way for a .NET client to connect using the Web Client (JavaScript) protocol?
-
July 7th, 2011, 09:01 AM
#4
Similar Threads
-
By jsharpe in forum Client SDKs
Replies: 4
Last Post: February 4th, 2009, 11:45 PM
-
By jsharpe in forum Adapter SDKs
Replies: 0
Last Post: January 10th, 2007, 04:03 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 06:36 PM.
Bookmarks