in reply to CGI to Telnet Interprocess Fun Stuff
Instead I will point you to SOAP::Lite. You could write a server that keeps a persistant connection (via SOAP::Transport::HTTP::Daemon) to a Net::Telnet session. The client would then call the server with a command and print the results back to the browser:
This is just a suggestion - i have not actually written anything like this myself . . . but i think this is definately do-able. The big question is - WHY!?! It's horribly unsafe!diagram: ------------- ------------- ------------ --------- |Net::Telnet|<-->|SOAP Daemon|<-->|web script|<-->|browser| ------------- ------------- ------------ ---------
jeffa
|
|---|