TCP communications
[1/3] from: ale870::gmail::com at: 31-May-2006 23:55
Hello,
I created (just for test) a client/server application over http.
I was using typical
serverPort: open/lines tcp://:80
The problem is client makes a request; server accepts it. Finally
(this is the problem) the server should answer to the client. But in
order to send data from server to client, how can I do using the same
channel?
Thank you !
--Alessandro
[2/3] from: greggirwin:mindspring at: 31-May-2006 16:35
Hi Alessandro,
AM> The problem is client makes a request; server accepts it. Finally
AM> (this is the problem) the server should answer to the client. But in
AM> order to send data from server to client, how can I do using the same
AM> channel?
WAIT returns the client port, so you can INSERT data into it.
-- Gregg
[3/3] from: ale870::gmail::com at: 1-Jun-2006 7:53
Wow! That's what I was looking for!
I didn't know from server I could put data into the port to send them
to the client (I found no example!).
Thank you!
--Alessandro
On 6/1/06, Gregg Irwin <greggirwin-mindspring.com> wrote: