Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost.asio] error Software caused connection abort
From: Igor R (boost.lists_at_[hidden])
Date: 2010-03-31 17:18:10


> When I use a tcp socket to connect to remote host, I may get an "actively refused"

WSAECONNREFUSED == 10061

> or "time out" error in 1st time.

WSAETIMEDOUT == 10060

> Then when I retry to connect to remote host, I "always" got "Software caused connection abort"

WSAECONNABORTED == 10053

http://msdn.microsoft.com/en-us/library/ms740668%28VS.85%29.aspx

I don't know why you say the former two are "normal" -- actually all
the tree mean that there's a problem with your host sockets: either
there's no listening socket or it closes an accepted socket, or
there's some other issue in the host.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net