hi
i have a function
var p:PHostEnt;
p := GetHostByName(xxxName)); <<<<<<<<<<<----------------
if Assigned (p) then
Result := (byte(p^.h_addr^[0]) = 127) and (byte(p^.h_addr^[3]) in [2,4,5])
//checking the ip address returned from the
function
for some reason, the marked line takes a long time (3-5 seconds!) under D2009.
with D2007 it was much faster, is there a
synapse alternative to achieve the above without using that API?
thanks
--
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public