For SSL support - look at openssl.org
Cancellation of support is good; for this you need to check regularly from the workflow if cancellation was requested. Note the use of a volatile variable or secure access to it using the Critical section. Do not perform a network operation from a GUI thread, even if it is asynchronous. It is a good policy not to do any I / O from the GUI thread, to ensure that it is responsive and more important, so that it does not hang.
devdimi
source share