Results 1 to 9 of 9

Thread: Streaming data over the web

  1. #1

    Thread Starter
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530

    Streaming data over the web

    I want to use the web to stream some data to a browser, like streaming stock quotes for example.

    Anyone know how to do this preferably with .net?
    Last edited by Nucleus; Nov 2nd, 2002 at 09:45 PM.

  2. #2
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803
    I've read your post before you edited it...

    What you are trying to do is not really streaming... You are trying to update some values on the browser every couple of seconds right ?
    Well, why don't you make in JavaScript something to realod the values in the textboxes in the html document ?
    Why i'm saying this ? Because the server cannot GIVE data to the browser, instead... the browser TAKES data from the server... that's how HTTP protocol works... you have to make the browser ask for the data...

    For those who want to be precise...
    Well... actually i was not entirely correct... the server gives data... but only when the browser is asking for it...

    It's because the browser does not keep a "session" connection up... whenever you browse a web-page the connection is on only while it's downloading... once it's done downloading, it's closing the conection right away...
    Last edited by CVMichael; Nov 3rd, 2002 at 12:15 AM.

  3. #3

    Thread Starter
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    hmmm, I understand this yet it is possible to recieve radio stations streamed live and here for example it is possible to receive realtime quotes:

    http://cbot.jfnetwork.com/home.htm?et=rd

    Originally the data was delayed for 10 secs being a client side poll delay and they only charged $10 per month, but these guys have recently upgraded to realtime and are now charging $30. I wonder how they do this?

  4. #4
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    i don't know how theirs look like, but perhaps a java applet could do what you want.
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  5. #5
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803
    With Java, you can keep a connection open...

    ahh... BuggyProgrammer, you were only a few seconds faster then me

  6. #6

    Thread Starter
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    and .net is very similar to Java.... so I guess if it is possible with Java then it should be possible with .net. I wouldn't mind finding out how though.

  7. #7
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803
    Java runs in the browser.... i'm not sure about .Net

  8. #8
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    ASP.NEt works entirely serverside that maybe a problem for you.

  9. #9

    Thread Starter
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    what does the crowd say???

    look they are all holding signs above their head, we'll need a camera shot to work out what they are saying...

    Switch to the helicopter shot...

    switching now....

    "You shoulda learned Java instead of sticking with .Net"

    Damn.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width