Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: CGI send data to client

by Anonymous Monk
on Dec 08, 2018 at 10:35 UTC ( [id://1226953]=note: print w/replies, xml ) Need Help??


in reply to Re: CGI send data to client
in thread CGI send data to client

Here are some other infos: client1 is on 1st machine and client2 on a second machine, both connected through the Web with the server. client2 is just a Perl script that needs to get the data, process it and display results in a simple Tk window. Yesterday I implemented my naive solution:

  • server writes in file what it receives from client1
  • client2 reads every x-time file from server by means of GET

Of course it works, but even if I am at a beginner in client-server solutions, I know this is not the way to do it. I'll start having a look at "ajax type async communication" and what can I do in Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1226953]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-25 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found