Just as a guess as to where to look, it would seem that the module must have a way to access the IO::Socket object it uses ( if it uses IO::Socket ), once you have the $sock, you can do my $remote $ip = $sock->PeerAddr of the IO::Socket::INET module.