login about faq

Hi,

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 at 12:15

seanc's gravatar image

seanc
1


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.

link

answered Feb 13 at 12:44

chilkat's gravatar image

chilkat ♦♦
12.4k316361452

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 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

By RSS:

Answers

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

Tags:

×77
×4

Asked: Feb 13 at 12:15

Seen: 188 times

Last updated: Feb 13 at 13:02

powered by OSQA