[twsocket] HttpServer and Server-push?

2011-10-18 Thread Hedges, Chris
Hi everyone, I'm very new to ICS as I've primarily used Indy in the past. I'm currently investigating if I can open a HTTP connection using a THTTPCli to a THTTPServer and keep the connection open until I chose to close it (keep-alive?). I then need to be able to send HTTP messages

Re: [twsocket] HttpServer and Server-push?

2011-10-18 Thread Hedges, Chris
Angus, So it does sound like this is at least possible :) Unfortunately my inexperience with ICS is now going to Show rather quickly. I've been looking at the Webserver demo that ships withICS as a basis of what I'm try to achieve. Please forgive my questions if they are somewhat newbie! You wro

Re: [twsocket] HttpServer and Server-push?

2011-10-19 Thread Hedges, Chris
I'm kind of bound to HTTP due to some backward compatibility constraints :( Does anyone have a working example of this I could look at? I'm having problems getting something working or perhaps links to any documentation That would assist. Thanks again, Chris. -Original Message- From: tw

Re: [twsocket] HttpServer and Server-push?

2011-10-19 Thread Hedges, Chris
An example of the HTTPServer that keeps the connection open to the client And allows the server to send messages back to the client. Angus, I know you gave me some useful pointers but I'm not able to fully connect the dots yet unfortunately. I'm still using the WebServer demo (although much cut d

Re: [twsocket] HttpServer and Server-push?

2011-10-20 Thread Hedges, Chris
Sorry Angus, This is probably where the confusion (for me at least) is. I need to be able to get to the posted data from the incoming request before I can determine what to send back. Setting the flag to hgWillSendMySelf prevents the PostedData event from firing. I presume there is another way