the use sin_zero in sockaddr_in
prabhu
prabhum at msys-tech.com
Mon Feb 21 11:11:43 EST 2011
Hi all,
Could anyone please explain the use *sin_zero in *sockaddr_in?
struct sockaddr_in{
short sin_family; /* AF_INET */
u_short sin_port; /* 16-bit port number */
/* network byte ordered */
struct in_addr sin_addr; /* 32-bit netid/hostid */
/* network byte ordered */
* char sin_zero[8]; /* unused */*
}
Thanks,
Prabhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110221/b24bbcef/attachment.html
More information about the Kernelnewbies
mailing list