Open RAOF opened 9 years ago
@RAOF this sounds like a good fit in nix. Could you add the relevant constants in the libc crate first? Or file an issue to do so?
I'm interested in picking this (task of adding the relevant constants) up. Stay tuned.
@kench Any interest in taking up this task?
https://github.com/nix-rust/nix/blob/master/src/sys/socket/addr.rs#L102
It looks like AF_BLUETOOTH was added shortly after that last message here. Any reason to keep this issue still open?
That commit only defined it for ios and macos. Nix still doesn't define it for other OSes. And I'm not sure if AF_BLUETOOTH
is useful by itself, or if it needs a more Rusty interface.
Bluetooth (at least on Linux) works over regular old boring sockets with a AF_BLUETOOTH socket type and various BTPROTO_FOO flags.
I'd like to have access to these, and it seems sensible to have them in nix.