I have decided to ask for your helpful
advice once again. This time my question deals with the sockaddr structure,
more concretely with the sockaddr_in:
I would like to use this structure with
both ipv4 and ipv6, and the problem is that I see that the in_addr is declared
in the ip_addr.h belonging to the ipv4 folder, but I find no in_addr declaration
in the ip_addr.h inside the ipv6 folder. In this file, there is declared
a structure named ip_addr that should be the same, but I do not see where
the name translation takes place. I suppose that they must be the same
because they are very similar: