Re: Indy Server -> client



Thomas Mueller wrote:

I have got a server app that can accept connections from multiple
clients. But in contrast to the normal way of the clients sending a
request and the server answering it, it want the server to keep the
connections and send requests to the clients to which they may or may
not answer.

client ----connects to-------> server
client <---receives command--- server
client ----answers-----------> server

I hope you get what I mean. Everything in Indy seems to be geared
toward making this impossible. Can anybody point me in the right
direction? An example would be very helpful.

a bunch of the indy commands in some way or other do what you're
asking, but Im guessing you and your app arent thinking the same way IP
does, even the default wsocket could do it, but you'd have to write
your own language layout.

You could use irc but it is designed specifically round irc, although
the code behind it would show you exacly how to implement what you
wanted

All you need to do is have some syntax such as

nnnn [opt [opt [opt..]]] data

and then you could easily work through using whole lines

you sound like you've tried plenty of things, why dont you show the
nearest one you got to working and maybe we can point you in the right
direction



--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
.



Relevant Pages

  • Re: localhost is all that will work
    ... What is the ServerBindings configured for this website? ... Bad Request message that I receive here as well. ... > - The client opens a connection to the webserver (works, ... > If this happens for all your clients on the Internet, ...
    (microsoft.public.inetserver.iis)
  • Re: Coworkers for myLinux project
    ... On a request of Michael Tobler, the first poster, I have translated ... Cyrus IMAPD mailbox, a sendmail Alias in LDAP, and the home directory ... there is no package which allows Linux clients to authenticate ... certificates for Apache, sendmail, Cyrus IMAPD and OpenLDAP, and it ...
    (alt.os.linux)
  • RE: process starvation with 2.6 scheduler
    ... The network traffic is of request response type. ... The netperf clients run on an external box, ... A client sends request to a server, ... With an ICE connected to the Palladium (emulator) I have dumped the kernel data structures of the starved process and the active process. ...
    (Linux-Kernel)
  • Re: Object locking
    ... > I could adapt your idea to make it transparent to clients, ... This is why Ada implements that as a language primitive, ... inspects that queue for a request. ... abstract request class with the method DoIt. ...
    (comp.object)
  • Re: localhost is all that will work
    ... The client opens a connection to the webserver (works, ... The webserver answers the request, ... If this happens for all your clients on the Internet, ... accessing the website from different parts of the ...
    (microsoft.public.inetserver.iis)