indy sockets question (newbie).

Giganews Newsgroups
Subject: indy sockets question (newbie).
Posted by:  jim (gy…@vivodinet.gr)
Date: Thu, 07 Apr 2005

Is there any way possible the the server can send data
over the connection and the client reads it?
Without the client sending something first...
I mean not inside the OnExecute method.
let's say that i want to send a text from the server to the
client on a ButtonClick event.
what can i do to send the data and of course
what modification is there to be done at the client's side
in order to receive it.(i tried using the OnWork event but
nothing happens. Apart from that i have a TIdConnection*
variable that holds AThread->Connection in the ServerConnect event.)
i know that this is not admitable but i found nothing better to do.

Replies