Re: What situations cause WSAECONNABORTED to be returned by recv?
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Thu, 27 Oct 2005 15:55:23 +0200
>From MSDN :
Software caused connection abort.
An established connection was aborted by the software in your host
computer, possibly due to a data transmission time-out or protocol error.
Local TCP stack send up that error if it decided ( due to 2 reasons ) that
no peer exist on the opposite side
Arkady
"RichK" <nospam@xxxxxxxxxx> wrote in message
news:ep$lCxv2FHA.3704@xxxxxxxxxxxxxxxxxxxxxxx
> I'm trying to identify why I'm seeing a WSAECONNABORTED failure in recv().
>
> Some causes that I seem to have identified are:
> 1) sufficient packets being dropped by the network that retransmission
> logic fails.
> 2) calling shutdown(SD_SEND) on the socket, and the peer application never
> responds to this shutdown with a call closesocket() or shutdown(SD_SEND)
> (This would cause a FIN to be sent, that was never responded to with a
> FIN )
>
> Other than routers dropping packets, and a peer application not closing
> sockets, does anyone know of other situations that would cause recv() to
> fail with WSAECONNABORTED?
>
>
>
>
.
- References:
- Prev by Date: What situations cause WSAECONNABORTED to be returned by recv?
- Next by Date: Re: only for GURU's: multicast on multihome pc
- Previous by thread: What situations cause WSAECONNABORTED to be returned by recv?
- Index(es):
Relevant Pages
|
Loading