Skip to content

TcpSocket drop question #3724

Answered by Darksonn
panpur asked this question in Q&A
Apr 23, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Yes, a tcp connection will close its file descriptor synchronously. The only type that doesn't do this is File, where it may not be closed immediately if there are any in-flight operations.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@panpur
Comment options

Answer selected by panpur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants