Hey all! I'm currently in the need to get the protocol family that was used to create a socket (and passed via a unix domain socket to another program), and I've not really come up with a proper scheme other than to use getsockname and retrieve sa_family from the resulting socket (which currently matches the socket domain and historically has, but why take the chances ;-)).
Is there any other "better" way to get at the domain (protocol family) of a socket? -- Heiko Wundram Product & Application Development ------------------------------------- Office Germany - EXPO PARK HANNOVER Beenic Networks GmbH Mailänder Straße 2 30539 Hannover Fon +49 511 / 590 935 - 15 Fax +49 511 / 590 935 - 29 Mobil +49 172 / 43 737 34 Mail [EMAIL PROTECTED] Beenic Networks GmbH ------------------------------------- Sitz der Gesellschaft: Hannover Geschäftsführer: Jorge Delgado Registernummer: HRB 61869 Registergericht: Amtsgericht Hannover _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"