Litle problem:ip-->Hostname

Litle problem:ip-->Hostname

Post by xfak » Thu, 02 Oct 2003 00:05:30


i've discovered that this the GStack.WSGetHostByAddr() function raise an
exception that make crash the process in case it doesn't find en host for an
adress.This happend for exemple with private adress such as 192.168.0.X .
Can anyone help me to do not meke my programm crash when some ip can't be
converted in host?
Thanks a lot
 
 
 

Litle problem:ip-->Hostname

Post by Maynard Ph » Thu, 02 Oct 2003 23:46:37


Try
GStack.GetHostByAddr(....);
Except
your clean up code
finally;
end;