Hi, Using TCP, when I call connect I can supply an IP address or a hostname.
For UDP, I call listen without setting up an IP address or hostname. For UDP, I use SendTo and one of the parameters is the TSockAddrIn. I can populate it and all is fine. Now, if the user supplies a hostname and not an IP address, I need to do a DNSLookup to get the IP address for TSockAddrIn. Is that all correct? If so, what is the best way to get the IP address from the hostname? Sorry, for the basic question, I have been all over the help resources and I am still green when it comes to UDP. Ciao, Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be