in reply to Re^5: socket checker in multiple hosts for multiple destination (Perl 6)
in thread socket checker in multiple hosts for multiple destination
Hi POJ, Thanks for your response.
Here is the output of the program you gave . This works fine, the problem occurs when I try to connect to remote server and execute that socket, the result doesn't stop printing. It goes into endless loop.$: cat source.csv 123.com 456.com 789.com $: cat destination.csv bc.com,3080 def.com,4560 $: ./new2.pl source.csv destination.csv $VAR1 = [ "123.com", "456.com", "789.com" ]; $VAR2 = [ "bc.com,3080", "def.com,4560" ]; Source [123.com] Destination [bc.com:3080] Destination [def.com:4560] Source [456.com] Destination [bc.com:3080] Destination [def.com:4560] Source [789.com] Destination [bc.com:3080] Destination [def.com:4560]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: socket checker in multiple hosts for multiple destination (Perl 6)
by 1nickt (Canon) on Feb 17, 2016 at 13:04 UTC |