Re: socket error 10054

Giganews Newsgroups
Subject: Re: socket error 10054
Posted by:  Remy Lebeau (TeamB) (
Date: Fri, 15 Apr 2005

"Holger Flick" <rammbaer.x…> wrote in message

> I am sorry that I am not able to describe the error any better,
> but "sometimes" TIdSMTP.Send fails with a socket error 10054
> (Connection reset by peer).

The server is actively disconnecting your client.  Or, a firewall on your
own machine is.

> The funny thing for me is that it mostly succeeds, but
> sometimes fails. Mostly for mails of a bigger size.

How big is big?  Some servers do restrict the maximum size that messages can



In response to

socket error 10054 posted by Holger Flick on Fri, 15 Apr 2005