<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<small>Hi all,<br>
<br>
Could anyone please explain the use <font color="#990000"><b>sin_zero
in </b></font>sockaddr_in? <br>
<br>
struct sockaddr_in{<br>
short sin_family; /* AF_INET */<br>
u_short sin_port; /* 16-bit port number */<br>
/* network byte ordered */<br>
struct in_addr sin_addr; /* 32-bit netid/hostid */<br>
/* network byte ordered */<br>
<font color="#990000"><b> char sin_zero[8]; /* unused */</b></font><br>
}<br>
<br>
Thanks,<br>
Prabhu</small><br>
<br>
<br>
<br>
</body>
</html>