[twsocket] XE2 and ICS

2011-10-19 Thread Graham Powell
1: I am just experimenting with XE2 and ICS. If I create a basic VCL project and add a TFTPClient, compile for 32-bit, all is fine. Compile for 64-bit and I get the error: Can't find OverbyteIcsWndControl.dcu Something simple I am missing? 2: Now trying to do the same thing in a FireMonkey

Re: [twsocket] XE2 and ICS

2011-10-19 Thread Arno Garrels
Graham Powell wrote: 1: I am just experimenting with XE2 and ICS. If I create a basic VCL project and add a TFTPClient, compile for 32-bit, all is fine. Compile for 64-bit and I get the error: Can't find OverbyteIcsWndControl.dcu Something simple I am missing? Make sure the ICS Vc32

Re: [twsocket] XE2 and ICS

2011-10-19 Thread Graham Powell
1: That fixed it. Thanks. Must keep my eyes open for all these extra boxes. 2: Good luck. I'm not that impressed with FireMonkey yet. I think the concept is brilliant, but seems to be a long way from being useable once you get away from basic component usage. Still that's not for this discussion

[twsocket] HttpServer performance improvement

2011-10-19 Thread Angus Robertson - Magenta Systems Ltd
SVN has been updated with a new THttpServer: Oct 18, 2011 V7.40 Angus GET performance improvements, use TBufferedFileStream, SndBlkSize default is 8192 and dynamically increased to new property MaxBlkSize if stream is larger than SndBlkSize. SocketSndBufSize also increased to SndBlkSize.

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:

Re: [twsocket] HttpServer and Server-push?

2011-10-19 Thread Angus Robertson - Magenta Systems Ltd
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.

Re: [twsocket] HttpServer and Server-push?

2011-10-19 Thread Angus Robertson - Magenta Systems Ltd
I'm still using the WebServer demo (although much cut down) to try and Add in the changes you suggested. That's fine. i.e. in the PostDocument Flags := hgAcceptData; --- PostedData wont fire unless this is set. ClientCnx.KeepAlive := True; What about the code to send the XML, and

Re: [twsocket] Suggestion for DocumentToContentType

2011-10-19 Thread RTT
I also find myself with the need to edit the DocumentToContentType function, each time I update my local copy of ICS. This has not being addressed yet, so how about if, instead of the more complex implementation proposed here, an assignable OnDocumentToContentType property is added to the