the use sin_zero in sockaddr_in
prabhu
prabhum at msys-tech.com
Mon Feb 21 11:34:23 EST 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110221/9903a74b/attachment.html
More information about the Kernelnewbies
mailing list