On Mar 19, 21:34, Ted Hilts wrote:
> Subject: Perl Problem
> I have a ftp upload routine written in perl that I run from with a LAN
> and out onto the internet via a gateway/firewall machine and the perl
> routine occasionally hangs or develops a socket problem.  Most of the
> time it works fine but there are times it doesn't and I want to be able
> to work around the problem.


You can fork a child process to handle the FTP work and exits when it's done.
 Have the parent process sleep for a while, and if the child process has not
terminated after the sleep, you can kill it.

Regards,
Clarence



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to