<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jose Celestino wrote:
<blockquote cite="mid:1298305072.24030.19.camel@morgoth" type="cite">
<pre wrap="">On Seg, 2011-02-21 at 21:41 +0530, prabhu wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
Could anyone please explain the use sin_zero in sockaddr_in?
</pre>
</blockquote>
<pre wrap=""><!---->
Padding to allow for casting.
</pre>
</blockquote>
<small>Hi Jose,<br>
<br>
Could u please elaborate little more... why we need this 8 byte
padding. <br>
<br>
My complete Question: <br>
1. Actually total size of sockaddr_in is 16 byte and out of 16 byte why
we have to use 8 byte for padding.?<br>
2. Do we use these 8 byte for any other usage for real time?<br>
<br>
<br>
<br>
Thanks,<br>
Prabhu<br>
</small><br>
<br>
<br>
</body>
</html>