Darren Reed wrote:

> As a side note, sockaddr_storage is also large enough to contain
> a complete sockaddr_un, so code that uses sockaddr_storage for
> working with AF_INET/AF_INET6 is also likely to be safer if
> it is changed to work with AF_UNIX, etc.


Yes, sockaddr_storage should be able to store any
socket address.  But the question here is when we
are not even talking about socket address, why is
it preferred to be used?


-- 

                                                K. Poon.
                                                [EMAIL PROTECTED]

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to