-
Notifications
You must be signed in to change notification settings - Fork 36
Implement --close #73
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
Conversation
bikeshed: the |
Hm, --close is confusing I think. --one-way is better, but it also is not clear which way, given that the listener could send or receive data. How about something like --recv-only or --send-only? |
maybe |
Is
|
I think --recv-only is nicest. It leaves the door open for --send-only if we ever need it, and can be used on both sides if ever needed. |
This option causes the sending side to not send any data and instead immeditally send an EOF. This can be useful when you are only interested in sending data in one direction. Closes n0-computer#10
Any other suggested changes on this PR? |
Thanks, sorry for the delay |
Thanks! |
This option causes the sending side to not send any data and instead immeditally send an EOF. This can be useful when you are only interested in sending data in one direction.
Closes #10