Hello. I have my head (I think) around basic pointers and such fairly cleanly. Im able to make my own linked lists and stacks and queues with no problem. However when looking at a piece of code for a server in C i was fouled up at this line (and ive seen its likes before).
their_addr.sin_addr = *((struct in_addr *)he->h_addr);
I understand something is being inputed into the structure element, what I dont know. I dont understand the multiple * in seemingly random places (Help please or an explanation). What does the * on the outside do? And the * on the inside? Thanks