Menu

#1 IP for hostname lookup

open
nobody
None
5
2006-08-10
2006-08-10
Kevin James
No

Rodrigo,

your firewall works well for what it is supposed to do.
Good job. One problem, when attempting to retrieve the
IP for a host in the add rule dialog, the software
returns 255.255.255.255. I solved this by modifying the
event handler for the "IP" button
[cmdResolverIP_Click()] to this:

Private Sub cmdResolverIP_Click()
txtDireccion.Text =
GetAscIP(GetIPFromHostName(Trim$(txtDireccion.Text)))
End Sub

It seems that extra whitespace causes errors in the
calls to inet_addr and gethostbyname.

--Kevin

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.