|
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 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:
-- -- |
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
