in reply to Re: client IP
in thread client IP

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: client IP
by borisz (Canon) on Aug 13, 2004 at 12:46 UTC
    No, STDOUT is the filehandle for the print statement. Also note, that $s->io_handle->connected can be undefined if no connection is done so far. You should read the docs.
    my $ip = inet_ntoa((unpack_sockaddr_in($s->io_handle->connected))[ +1]);
    Boris
    A reply falls below the community's threshold of quality. You may see it by logging in.