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 electronic device
Being the designated driver
Spending time with a celebrity
I never won anything
I never play the lottery
I haven't checked my spam folder recently
Results (382 votes). Check out past polls.