|
-
Nov 2nd, 2002, 09:39 PM
#1
Thread Starter
Registered User
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.
-
Nov 3rd, 2002, 12:10 AM
#2
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.
-
Nov 3rd, 2002, 12:26 AM
#3
Thread Starter
Registered User
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?
-
Nov 3rd, 2002, 12:30 AM
#4
The picture isn't missing
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  .
-
Nov 3rd, 2002, 12:31 AM
#5
With Java, you can keep a connection open...
ahh... BuggyProgrammer, you were only a few seconds faster then me
-
Nov 3rd, 2002, 12:33 AM
#6
Thread Starter
Registered User
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.
-
Nov 3rd, 2002, 12:38 AM
#7
Java runs in the browser.... i'm not sure about .Net
-
Nov 3rd, 2002, 12:46 AM
#8
ASP.NEt works entirely serverside that maybe a problem for you.
-
Nov 3rd, 2002, 01:04 AM
#9
Thread Starter
Registered User
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|