* Releases ownership of the file descriptor. Not exposed * via the `Socket` interface as this is only intended to * support `Socket::Impl` implementations that need to * override the file descriptor ownership. */
| 219 | * override the file descriptor ownership. |
| 220 | */ |
| 221 | int_fd release() |
| 222 | { |
| 223 | int_fd released = s; |
| 224 | s = -1; |
| 225 | return released; |
| 226 | } |
| 227 | |
| 228 | /** |
| 229 | * Returns a `std::shared_ptr<T>` from this implementation. |
nothing calls this directly
no outgoing calls
no test coverage detected