In C, is there a difference between writing "struct foo" instead of just "foo" if foo is a struct?
For example:
struct sockaddr_in sin;
struct sockaddr *sa;
// Are these two lines equivalent?
sa = (struct sockaddr*)&sin;
sa = (sockaddr*)&sin;
Thanks /Erik