To make the output go to the "telnet.log" file handle, you need to tell the print statement to use the file handle! For instance, change:
print "Bad connection.\n";to
print OUT "Bad connection.\n";...roboticus
In reply to Re^3: Telnet list of IP and get information stored to a file
by roboticus
in thread Telnet list of IP and get information stored to a file
by sanju7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |