#include <stdapis/netinet/in.h>
struct sockaddr_in |
Socket address, internet style.
char | sin_zero |
There's also this sin_zero field which some people claim must be set to zero. Other people don't claim anything about it (the Linux documentation doesn't even mention it at all), and setting it to zero doesn't seem to be actually necessary. So, if you feel like it, set it to zero using memset().