>ss_family should always be available, though; it sort of has to be.

While it is if you have a struct sockaddr_storage, I avoided using it.
It seems like many of the techniques used for when you _don't_ have
struct sockaddr_storage (which generally involves replacing it with
sockaddr_in) get unhappy when you use ss_family; I got bit by some of
that when working on some of the MIT krb4 code.  I instead wrote a
macro called rx_ssfamily() which takes care of it for me.

--Ken
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to