Jump to content

What does option "TCPTimeout" do?


Recommended Posts

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?

Link to comment
Share on other sites

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:

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...