I need some assistance with some visual basic code I am trying to implement. I am trying to call a Winsock method (gethostbyaddr). I want to pass it the variable "IP_Address" and extract the data that the method should return. I have built my data structure (TYPE hostent) but do not know how to return data into that structure. Can you point me in the right direction or give me a resource? Thanks.

------------------
Jeffrey S. Russell