Why is the result not 1?... :confused:
Type: Posts; User: MKirstensen
Why is the result not 1?... :confused:
So i places the value of &my_addr in the struct sockaddr memory block.... right? and whats i the "*" good for? :confused:
I THINK i get it now, it makes &my_addr act like struct sockaddr * , but how can a memory address act like a structure ? :confused:
Thx alot! Elysia
So it takes the address of my_addr and place it in the structure sockaddr... Am i right?
Hello World!
(struct sockaddr *)&my_addr
What does this line do?... I am still trying to learn C :)