Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Re: Socket Error # 0

www.cryer.info
Managed Newsgroup Archive

Re: Socket Error # 0

Subject:Re: Socket Error # 0
Posted by:"Guillem" (guillemvicens-nospam@clubgreenoasis.com)
Date:22 Mar 2007 02:56:23

Stephan Jaschke wrote:

> Hi all.
>
> I've got a strange problem while sending mails via TIdSMTP.
> This is extremly annoying as on some PC it works on others it fails.
>
> If the error occurs once it will occur always afterwards even after
> reboot.
>
> After reinstalling the client PC everything is fine again
> but I've no idea what could cause or even mean "Socket Error # 0'.

there is no socket error #0 in Windows. The lowest value for a socket
error is 6 and corresponds to WSA_INVALID_HANDLE. AFAICS in the IdStack
code there is no way it could return a 0.

What version of Indy are you using? Did you try the latest dev snapshot?

--
Best regards :-)

Guillem Vicens Meier
Dep. Informática Green Service S.A.
www.clubgreenoasis.com

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive