Re: socket recive problem

2021-04-02 Thread thelip sia
Hi, Refer here https://perldoc.perl.org/perlipc#Sockets%3A-Client%2FServer-Communication use my($port, $iaddr) = sockaddr_in($client_addr); then gethostbyaddr($iaddr, AF_INET ) Regards, Heince On Fri, Apr 2, 2021 at 3:48 PM stefano cerbioni wrote: > hi i try to recive a stream string by a c

Re: Getting the results of a remote script

2017-11-08 Thread thelip sia
you can use backtick to store the output. $list = `ssh usern...@domain.com '/usr/bin/perl /cgi-bin/dir-list.pl'`; Regards, Heince On Thu, Nov 9, 2017 at 7:15 AM, SSC_perl wrote: > I have a script on a remote server that creates a list of all > directories on the server that end in a das