-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a way to close a socket read or write part individually #19
Comments
Any example @schveiguy, I'm not sure whether you're speaking of TCP close or HTTP close or sth. entirely different. |
I'm thinking of protocols which require shutdown of the send side before receiving the response. Though at the time I was confused about http (the protocol I'm trying to use), and thought I needed to do that there, I know there are some protocols that require a shutdown of the write side. |
Basically, we need an API for this: http:https://man7.org/linux/man-pages/man2/shutdown.2.html |
Sockets can be full duplex, we need a way to close individually the read and write end of the socket, as some protocols won't work unless you close your writing end first.
The text was updated successfully, but these errors were encountered: