Sorry if it is a too simple question. I was trying to compile some socket invoking code, and I had to use this
SOCKADDR_IN * sin;
sin.sin_addr.s_addr = htonl(INADDR_ANY);
The problem is that I am told that I must initialize the pointer. (Is it necessary ?) Btw, how to initialize a structure pointer ?