lucab / libsystemd-rs

A pure-Rust client library to work with systemd
https://crates.io/crates/libsystemd
Other
106 stars 19 forks source link

activation::SocketFd needs to differentiate between UnixStream and UnixDgram types #55

Open jabedude opened 4 years ago

jabedude commented 4 years ago

The SocketFd enum in the activation module currently wraps any Unix Domain Socket as Unix. We should split this type into two types: UnixStream and UnixDgram via getsockopt(3) + SO_TYPE.