You can do something like: ```rust let sock = socket2::SockRef::from(&-1); assert!(Some(sock).is_none()); ``` With the changes in #222