> Thus, it should read: > sockname.sun_len = strlen(sockname.sun_path) + offsetof(sun_path, > sockaddr_un); > (or something to that effect) > according to the fbsd header it should be strlen(sockname.sun_path) + 1 + offsetof(sun_path, sockaddr_un) greetings -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Nothing is fool-proof to a sufficiently talented fool.