in reply to
IO Socket - Detect inbound IP
As Ikegami pointed out, the easy way is peerhost. Try it like this...
print $new_sock->peerhost, " said $_";
Electric dreams (yikes!)
2001: A Space Odyssey
None of the above, please specify
Results (294 votes),