All of lore.kernel.org
 help / color / mirror / Atom feed
* the use sin_zero in sockaddr_in
@ 2011-02-21 16:11 prabhu
  2011-02-21 16:17 ` Jose Celestino
  0 siblings, 1 reply; 5+ messages in thread
From: prabhu @ 2011-02-21 16:11 UTC (permalink / raw)
  To: kernelnewbies

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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-21 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-21 16:11 the use sin_zero in sockaddr_in prabhu
2011-02-21 16:17 ` Jose Celestino
2011-02-21 16:34   ` prabhu
2011-02-21 16:41     ` Wick
2011-02-21 16:55     ` Wick

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.