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 down) to try and
Add in the changes you suggested.

i.e. in the PostDocument

//Flags := hgWillSendMySelf; <--- need to set this as your
recommendation
  Flags := hgAcceptData;  <--- PostedData wont fire unless this is set.
  ClientCnx.KeepAlive := True;

I'm not sure if the WebSever demo is a good basis for what I'm trying to
do?

I hate asking for examples but I've been fighting Indy for a week trying
to do the same thing and I'm feeling beat!


-----Original Message-----
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org]
On Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 19 October 2011 16:44
To: twsocket@elists.org
Subject: Re: [twsocket] HttpServer and Server-push?

> Does anyone have a working example of this I could look at? 

An example of what, a web server?  Or use of a timer?  

I actually added a timer to my own web server yesterday, to delay
sending
a 404 error by 30 seconds to any hackers that try and open a PHP page,
to
slow down their probing. 

Angus

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to