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 $_";
An organised event
A traditional gathering
With family and friends
I don't celebrate the New Year
Adjusting my clocks for the Leap Second
I can't remember
Results (222 votes). Check out past polls.