Where can I see the file descriptor associated with a TcpStream?

⚓ rust    📅 2025-05-30    👤 surdeus    👁️ 3      

surdeus

I'm new to Rust and was testing TcpStream. I noticed that Rust uses file descriptor in Linux.

The print below shows that the file descriptor number is 4.


But when I go to check the symbolic links in the process's fd folder, 4 doesn't appear .

How does this work in Rust ?

1 post - 1 participant

Read full topic

🏷️ rust_feed