BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Live Open connection from Client html to indyHttp server

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Robert T
Guest





PostPosted: Wed Sep 13, 2006 1:32 am    Post subject: Live Open connection from Client html to indyHttp server Reply with quote



Hi

How do I create a live connection to my indyHTTP server which will update my
client side html.

THanks
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed Sep 13, 2006 2:52 am    Post subject: Re: Live Open connection from Client html to indyHttp server Reply with quote



"Robert T" <some (AT) some (DOT) com> wrote in message
news:45071928 (AT) newsgroups (DOT) borland.com...

Quote:
How do I create a live connection to my indyHTTP server which
will update my client side html.

Please elaborate. What exactly are you trying to accomplish?


Gambit
Back to top
Robert T
Guest





PostPosted: Thu Sep 14, 2006 1:32 am    Post subject: Re: Live Open connection from Client html to indyHttp server Reply with quote



"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in message
news:45072ed4$1 (AT) newsgroups (DOT) borland.com...
Quote:

"Robert T" <some (AT) some (DOT) com> wrote in message
news:45071928 (AT) newsgroups (DOT) borland.com...

How do I create a live connection to my indyHTTP server which
will update my client side html.

Please elaborate. What exactly are you trying to accomplish?
I created a webserver using the Indyhttppserver component. The clients use

mostly IE and Firefox to connect and send requests to which the server
reply. What I would like to do is have a live connection to the server so
that whenever the server processes new data received from a coms port I want
to display that data on the clients webbrowser without having to refresh the
page.

I hope it makes sense now.
Thanks


Quote:


Gambit

Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu Sep 14, 2006 3:19 am    Post subject: Re: Live Open connection from Client html to indyHttp server Reply with quote

"Robert T" <some (AT) some (DOT) com> wrote in message
news:45086aba (AT) newsgroups (DOT) borland.com...

Quote:
I created a webserver using the Indyhttppserver component. The
clients use mostly IE and Firefox to connect and send requests to
which the server reply. What I would like to do is have a live
connection to the server so that whenever the server processes
new data received from a coms port I want to display that data
on the clients webbrowser without having to refresh the page.

The HTTP protocol is not designed for that. It is a command/response
protocol, not a streaming push protocol. Refreshing the page periodically
is the only way for a browser to get the latest HTML from the server.
Otherwise, you will have to write a Java applet that runs on the web page
and maintains its own persistent connection to the server. The applet can
then alter the client-side HTML dynamically in code. Or else look at using
RSS feeds instead to present your COM port data in a dynamic manner.


Gambit
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.