Jose Celestino wrote:
On Seg, 2011-02-21 at 21:41 +0530, prabhu wrote:
Hi all,

Could anyone please explain the use sin_zero in sockaddr_in?

Padding to allow for casting.

Hi Jose,

Could u please elaborate little more... why we  need this 8 byte padding.

My complete Question:
1. Actually total size of sockaddr_in is 16 byte and out of 16 byte why we have to use 8 byte for padding.?
2. Do we use these 8 byte for any other usage for real time?



Thanks,
Prabhu



_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to