Skip to content

Conversation

@marco-stephan
Copy link

Adds an option for the TcpSession/TcpClient to delay a disconnect until all queued asynchronous send operations are completed.

The option is called OptionSendRemainingBytesOnDisconnect. The thread causing the disconnect is blocked until all remaining bytes have been sent. This option can be used to avoid calling the blocking Send(...) functions while still ensuring that all data is send.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants