Resolver documentation
Dave Higton (1515) 3525 posts |
Is any documentation available for the Resolver module, other than that supplied with the new ROD IP stack? The supplied file clearly shows that full documentation wasn’t available to them. If nothing else turns up, I may start to put the ROD docs on the wiki here, subject to ROD’s permission of course. And while we’re at it: the GetHostByName and GetHost SWIs currently only work for IPv4 addresses, because they return an IPv4-sized hostent structure. Is there any way of making them IPv6-compatible, or do we need to add new ones that can return either and will inform the caller which type of address they have returned? |
Charles Ferguson (8243) 427 posts |
I believed that the ROD stack has documentation for the Resolver_GetAddrInfo call. It is not possible to make the GetHostByName and GetHost SWIs work with older software because they won’t expect the structures that are returned. This is why the Resolver_GetAddrInfo SWI is defined. From the look of the ResolverDocs documentation in the ROD files, it does not include the definition of the structure – that might have changed in the most recent release, but I’ve not seen that yet (been too busy with other things). My original proposal includes the definition of the struct, interface, reasoning and some examples… https://share.gerph.org/s/wdDGJuggffW8h61 However, the actual implementation might be different. |
Dave Higton (1515) 3525 posts |
Thank you, Charles. Clearly I should have read the docs more thoroughly. |