I was learning about Winsock and was looking at code from the page :
Winsock Tutorial 1.
There is a line in the program which included the operator =*. Can anyone please tell me what this is? I do know a *= b is equivalent to a = a * b. And I read on stackoverflow that =+ is the obsolete form of +=. So I tried interchanging the * and = making it *=, but the compiler gave me an error. I would really appreciate it if someone tells me what this line of code means :
SockAddr.sin_addr.s_addr=*((unsigned long*)host->h_addr);
It means de-reference something and assign it to the LHS.
See dereference operator.