CallDLL ws2_32.dll - help needed

Blitz3D Forums/Blitz3D Beginners Area/CallDLL ws2_32.dll - help needed

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

As for the hostent structure, it's kind of a pain.

h_name is the address of the first character of the hostname.

h_aliases is the address of the list off addresses of aliases -- you would need to use copymemory or something to get this, I think -- unless you didn't care about it, then that would make it easier for you.

the next two are just normal ints that you can read straight off.

h_addr_list os similar to h_aliases except it contains IP (probably) addresses.

Do you have a more specific question?