Jump to content
Sign in to follow this  
SlowCoder74

What does option "TCPTimeout" do?

Recommended Posts

SlowCoder74

I've been having performance difficulties with my TCP UDF.  The more clients, the slower (almost exponentially) the communications.  I set AutoItSetOption("TCPTimeout",0), and now the communications speed is almost instant between server and clients.

The description of TCPTimeout is that it sets the ms for TCP functions to wait to receive data.  It doesn't say anything about error management.  Exactly what does it do?  Does setting it to 0 have any mitigating issues?

Share this post


Link to post
Share on other sites
Danyfirex
SlowCoder74

Thank you.  From reading those, it sounds like it was designed to act internally like sleep(), or it was designed to pause for ACKs or something, which it doesn't do (bug).  In either case, for my purposes, it appears to be useless. :unsure:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.