I am trying to understand how c preprocessor works in c
I have built that simple environment
and I am trying to see
int main(int argc, char *argv)
if( ( i = socket( AF_INET6, SOCK_STREAM, 0 ) ) < 0 )
if( ( i = socket( AF_INET, SOCK_STREAM, 0 ) ) < 0 )
printf("socket created %d");
a) How to set manually IPV6
b) How to make the system set it.
I have heard about a tool that is called autoconf that can do that by it asks for a template for doing that.
Could you please help me with that?