Discussion:
WSAETIMEDOUT
(too old to reply)
Andrew Chalk
2005-02-05 23:31:09 UTC
Permalink
When I try to connect from one app. to another I get the error WSAETIMEDOUT.
Is their a parameter to change the timeout? Is it worth changing from the
defaults?

Many thanks
PC
2005-02-06 03:28:08 UTC
Permalink
It depends on why it is timing out... under normal use, the defaults work
very well.

As example, DNS lookup can cause a time out, but your software should try to
connect again.

If your app(s) are running local, then your network isn't configured
correctly or you have bugs in your program.
Post by Andrew Chalk
When I try to connect from one app. to another I get the error
WSAETIMEDOUT.
Post by Andrew Chalk
Is their a parameter to change the timeout? Is it worth changing from the
defaults?
Many thanks
Andrew Chalk
2005-02-06 15:21:09 UTC
Permalink
Thanks. Which socket call allow me change this parameter?
Post by PC
It depends on why it is timing out... under normal use, the defaults work
very well.
As example, DNS lookup can cause a time out, but your software should try to
connect again.
If your app(s) are running local, then your network isn't configured
correctly or you have bugs in your program.
Post by Andrew Chalk
When I try to connect from one app. to another I get the error
WSAETIMEDOUT.
Post by Andrew Chalk
Is their a parameter to change the timeout? Is it worth changing from the
defaults?
Many thanks
PC
2005-02-06 17:32:14 UTC
Permalink
It is a registry setting.

Go here http://msdn.microsoft.com/ and read up on the TCP registry settings.

You should also post your code here, since the defaults work fine.
Post by Andrew Chalk
Thanks. Which socket call allow me change this parameter?
Post by PC
It depends on why it is timing out... under normal use, the defaults work
very well.
As example, DNS lookup can cause a time out, but your software should
try
Post by Andrew Chalk
to
Post by PC
connect again.
If your app(s) are running local, then your network isn't configured
correctly or you have bugs in your program.
Post by Andrew Chalk
When I try to connect from one app. to another I get the error
WSAETIMEDOUT.
Post by Andrew Chalk
Is their a parameter to change the timeout? Is it worth changing from
the
Post by PC
Post by Andrew Chalk
defaults?
Many thanks
Loading...