login about faq


CkSocket::ckClose() seems to always take 10 seconds to complete. The other side of the socket reports that the connection has been closed in less than a second and I have the timeout value set to 9999999.

Any ideas?

asked Feb 13 '17 at 12:15

seanc's gravatar image


The CkSocket::ckClose method takes 1 argument, which is an integer specifying the max wait time for a clean close in milliseconds. You should be able to pass a small value to it, to close without waiting.


answered Feb 13 '17 at 12:44

chilkat's gravatar image

chilkat ♦♦

Hi Chilkat,

Will ckClose not return on its own the moment the clean close is complete?

Note that I did set the timeout to 9999999. Is it clamping this to 10000?

(Feb 13 '17 at 13:02) seanc
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Feb 13 '17 at 12:15

Seen: 943 times

Last updated: Feb 13 '17 at 13:02

powered by OSQA