Results 1 to 2 of 2
  1. #1

    .Net Client for JS protocol

    All the .Net and Java clients in the Lightstreamer examples seem to connect to adapters using the .txt protocol (i.e create_session.txt etc).

    Is there a .Net example client which connects to the create_session.js, bind_session.js and control.js?

    If not, would it be possible in theory to refactor the examples in .Net in order to point about them at servers that use create_session.js, bind_session.js and control.js?



    Also, the .Net client examples seem to poll the server for updates. Is there any clients which use websockets or any other asynchronous approach? From reading the Network Protocol document, I was under the impression the the request to create_session and control were synchronous, but that the bind_session request was keep open. This doesn't seem to be the case.
    Last edited by itsabagel; September 9th, 2014 at 05:32 PM.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hello,

    There is no way for the .NET client to use the JS protocol. Why would you want to do that?

    The .NET client should use http-streaming but may resort to polling if the streaming connection seem not to be working. The JavaScript client would do the same. See http://www.lightstreamer.com/distros...nListener.html
    Are you testing the client against our server or your own? Do you have some kind of proxy in the middle?

 

 

Similar Threads

  1. Using JavaScript protocol from .NET
    By fil in forum Client APIs
    Replies: 7
    Last Post: July 8th, 2011, 12:20 PM
  2. Using the direct network protocol?
    By Alessandro in forum Client Protocol
    Replies: 2
    Last Post: July 19th, 2010, 10:01 AM
  3. Replies: 4
    Last Post: August 14th, 2009, 04:28 AM
  4. Data Provider Protocol Method Tags
    By juls in forum Adapter Protocol
    Replies: 1
    Last Post: March 4th, 2009, 10:00 AM
  5. ARI protocol question
    By cbcrack in forum Adapter Protocol
    Replies: 3
    Last Post: January 7th, 2008, 10:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 04:57 PM.