Quote:

I have only glanced at your function but I saw a timeout parameter and that makes me think that there is a possibility it might fail to recieve the ip address.





nah, that timeout is just an optional parameter for the maximum duration of trying to get a reply ... the resolution of course relies on the systems ability to resolve the IP from host name, speak DNS, WINS or a hosts file



Edited by Jochen (2004-12-07 11:38 AM)
_________________________