Note that the actual data returned may be bigger than what will fit in a struct sockaddr. If you need to save the results use struct sockaddr_storage or family specific structures. Mark -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka at isc.org