Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Completely new area for me, so I need some initial ideas from fellow monks. I have the following scenario: a) client 1 sends data via GET to CGI script on server. When CGI script receives data, it b) manipulates it and c) it needs to send the result to client 2.
I have already implemented a) and b), but have no idea how can I send data to second client. Data are small chunks of text.
First naive idea that came into mind: CGI writes data to file, client 2 reads data from file. However, this is not a one shot operation, but this is almost a continuous loop client1->server->client2, so I think my idea is too naive even for me. What (easy) approach would you recommend? What should I look for? Any suggestion very much appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI send data to client
by bliako (Abbot) on Dec 07, 2018 at 18:19 UTC | |
|
Re: CGI send data to client
by NetWallah (Canon) on Dec 07, 2018 at 22:31 UTC | |
by Anonymous Monk on Dec 08, 2018 at 10:35 UTC |