IP for hostname lookup
Status: Inactive
Brought to you by:
rodrigodocarmo
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