A better fix than the one given in my initial report would use struct sockaddr_storage and cast it either to struct sockaddr_in or to struct sockaddr_in6 depending on ss_family.
-- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

