$SIG{'ALRM'} = sub { .. invoke the switch over to other socket .. }; my $alarmtime = "10"; sub connect_to_sock1 { ... alarm($alarmtime); ... }
In reply to Re: multiple socket streams
by hsinclai
in thread multiple socket streams
by Forsaken
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |