in reply to Re^2: multiple connections
in thread multiple connections
print $log "$connection : $buf";
or you could use the same logic to open different files :
open ($log,'>>',"log_$connection.txt") or die $!;
...where $connection is a variable that increments for every new connection that opens, or is based on the IP address, or whatever is meaningful to you.
Have I understood the problem correctly?hth
clint
|
|---|