I've always used free TIEHttp2 (or something similar, I'm not currently in Windows now, so I'm not 100% sure if I got the name right). Anyway, TIEHttp2 has always worked for me and it's very straightforward, I don't have the Indy controls myself anyway because I only have Delphi Personal, so I wouldn't be able to compare, but what I can say is that the TIEHttp2 control is simple and works.
On Wed, 2006-08-02 at 11:39 +1200, Jeremy Coulter wrote: > Your right Phil.....its not the reply I am after :-) > > what I want to do is simply use it for inter app. communication, > EXCEPT, that one app. might be on another machine. If I was sure they > would be on the same machine, then I would have used COM as it would > certainly work for what I want to do. > Its nothing more than passing an ACTION and then some other > parameters, then geting a simple response back. Nothing too scary, BUT > I didnt want to have to go down the whole TCPIP build your own nasty > system, just something simple, that is just a command and a reply, > which HTTP works fine for and I dont have to worry about connections > etc. etc. > As for the ports, the ports are not an issue, can be changed from 80 > if I want, and prob. will. > The other idea behind using HTTP is that when other developers what to > tap into our app. then its a pretty easy way to interface to, to pass > commands to it etc. > > further to this, I just found out why I was having a problem with > Indys HTTP Server, I was not clearing a collection and was getting > multiple parameters being sent to the http server (using HTTP > POST)....DOH....now it works fine :-) > > Jeremy > > > > > ______________________________________________________________________ > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Phil Middlemiss > Sent: 2 August 2006 11:23 > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] HTTP Server > > > > Jeremy, > > I know you probably aren't after this kind of reply, but I would > reconsider your approach. If you are building this functionality into > an application that has other desktop uses (eg, a word processor etc) > then consider using a TCP interface instead since it won't tie up port > 80 which may be used for browsing the web. If you are building a > server based app that will just sit there and respond to requests, > then consider building an ISAPI DLL (very straightforward). An ISAPI > DLL will run under under the IIS on Win2000 so you don't need to worry > about getting a server version. > > Phil. > > Jeremy Coulter wrote: > > Hi All. I want to add some functionality to my App. so that it uses > > an HTTP server to receive commands and pass back a success or fail. > > I have looked at the INDY and ICS HTTP Server controls, but they > > seem slightly more complex than I need. > > All I want to do is go, I have a POST, therefor fire this function > > and based on the boolean result, send back a yes or a no. > > I have looked at the Synapse HTTPServer demo, and it is just what I > > think I need, but firstly threads do my head in, I would need to > > call a function on the form that is the parent for the HTTP Server > > and pass back a boolean value so it knew what to reply, but like i > > say, threads do my head in. > > > > Has anyone else got a res. good HTTP server control/code OR managed > > to do what I want to do with the Synapse controls? > > > > > > Jeremy > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.394 / Virus Database: 268.10.5/404 - Release Date: > > 31/07/2006 > > > > > > > > ____________________________________________________________________ > > > > _______________________________________________ > > Delphi mailing list > > [email protected] > > http://ns3.123.co.nz/mailman/listinfo/delphi > > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: > 01/08/2006 > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: > 01/08/2006 > > > _______________________________________________ > Delphi mailing list > [email protected] > http://ns3.123.co.nz/mailman/listinfo/delphi _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
