No such thing as a small change | |
PerlMonks |
Re^3: IO Socket - Detect inbound IPby Anonymous Monk |
on Jan 25, 2011 at 19:31 UTC ( [id://884211]=note: print w/replies, xml ) | Need Help?? |
no luck, it returned binary garbage that once converted to ascii read 512. I haven't checked the documentation, but binary garbage usually means a packed address, so to get dotted octet form (a.b.c.d), you need to use Socket::inet_ntoa
In Section
Seekers of Perl Wisdom
|
|