You are mistaken. It does indeed work. Don't blame the tool if you don't understand its output.
The address is returned in its packed form. Each character of the string is one of the octets. Pass it to inet_ntoa to convert it to the dotted address form. Aforementioned peerhost does this for you.
In reply to Re^3: IO Socket - Detect inbound IP
by ikegami
in thread IO Socket - Detect inbound IP
by sans-clue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |