OT: getting the protocol family of a file descriptor

Dag-Erling Smørgrav des at des.no
Fri Feb 1 05:07:58 PST 2008


"Heiko Wundram (Beenic)" <wundram at beenic.net> writes:
> At the moment, there are two different kinds of connections being
> handled by front-end plugins (which basically accept on a listening
> socket, set up a certain initial state and pass it to the backend):
> AF_INET(6) and AF_BLUETOOTH. The latter won't work with the
> getaddr*-functions or getnameinfo() to format the address,

so fix getnameinfo() :)

> I personally don't find this especially beautiful

why does it need to be beautiful?

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list