I've just started reading some material on sockets programming. These definitions in include/netinet/in.h caught my attention
and I'm wondering why they didn't simply defineCode:typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; };
?Code:typedef uint32_t in_addr;
What's the point of a struct consisting of just a single member?