Archived Forum Post

Index of archived forum posts

Question:

Connection Rejection Takes Longer than the Set Max Wait Time

Jul 11 '16 at 16:33

Connection Rejection Takes Longer than the Set Max Wait Time. Using the ActiveX socket component in VB6. It takes 21 seconds for the connection attempt to reject no matter what the length of the maxWaitMS parameter is set to. According to the (VB6) Socket Connect Failure Cases describes. It states that if this maxWaitMS is set to 5000 MS, then the rejection should come in 5 seconds. Is there a workaround? Thanks RBO


Answer

Make sure you're using the very latest version of Chilkat. If the problem persists, then set the VerboseLogging property = 1, then capture the full contents of the LastErrorText property and post.

Also, show exactly how the problem can be reproduced. (Is there a publicly accessible hostname:port that can be tested to reproduce this behavior?)