I see we have std::net::tcp::TcpStream::set_nonblocking
for setting this flag on a TcpStream
instance.
If I have a TcpStream
instance, and I want to read that flag (in my case, for the purpose of debugging), how would I do that?
In case this is platform specific, I'm targeting Linux.