On Wed, 30 Dec 2009, Elad Efrat wrote: > It has been tested and reviewed, but just in case I'd like to see if > someone else has any comments. + /* XXX-elad: Make sure this is an IPv4 socket. */ if (sofamily(so) != AF_INET) return result; (or, you can use sockaddr->sa_family from arg2 ?) iain